1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00

Fix installation

This commit is contained in:
Jean-Baptiste Holcroft 2018-07-04 22:55:54 +02:00
parent 36005bde34
commit 4b2408f7c9
3 changed files with 6 additions and 0 deletions

View file

@ -131,6 +131,8 @@ ynh_send_readme_to_admin "$message"
chmod -R 770 "$final_path" chmod -R 770 "$final_path"
chown -R :mumble-server "$final_path" chown -R :mumble-server "$final_path"
# Prevent "PID file /var/run/mumble-server/*.pid not readable (yet?) after start."
chown mumble-server /var/run/mumble-server/
#================================================= #=================================================
# Add user to ssl-cert so it can read certificates # Add user to ssl-cert so it can read certificates

View file

@ -60,6 +60,8 @@ ynh_install_app_dependencies mumble-server mailutils
# Restore permissions on app files # Restore permissions on app files
chmod -R 770 "$final_path" chmod -R 770 "$final_path"
chown -R :mumble-server "$final_path" chown -R :mumble-server "$final_path"
# Prevent "PID file /var/run/mumble-server/*.pid not readable (yet?) after start."
chown mumble-server /var/run/mumble-server/
#================================================= #=================================================
# Add user to ssl-cert so it can read certificates # Add user to ssl-cert so it can read certificates

View file

@ -160,6 +160,8 @@ ynh_send_readme_to_admin "$message"
chmod -R 770 "$final_path" chmod -R 770 "$final_path"
chown -R :mumble-server "$final_path" chown -R :mumble-server "$final_path"
# Prevent "PID file /var/run/mumble-server/*.pid not readable (yet?) after start."
chown mumble-server /var/run/mumble-server/
#================================================= #=================================================
# Add user to ssl-cert so it can read certificates # Add user to ssl-cert so it can read certificates