mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
Fix mumble-server folder creation
This commit is contained in:
parent
d0af4f6e16
commit
1f2172a181
2 changed files with 3 additions and 2 deletions
|
@ -126,7 +126,9 @@ 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."
|
# Prevent "PID file /var/run/mumble-server/*.pid not readable (yet?) after start."
|
||||||
|
mkdir -p /var/run/mumble-server/
|
||||||
chown mumble-server /var/run/mumble-server/
|
chown mumble-server /var/run/mumble-server/
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -139,7 +141,6 @@ usermod --append --groups ssl-cert mumble-server
|
||||||
# Set SuperUser password
|
# Set SuperUser password
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
mkdir -p /var/run/mumble-server/
|
|
||||||
murmurd -ini "$mumble_conf" -supw "$su_passwd" "$instance_id"
|
murmurd -ini "$mumble_conf" -supw "$su_passwd" "$instance_id"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -170,6 +170,7 @@ 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."
|
# Prevent "PID file /var/run/mumble-server/*.pid not readable (yet?) after start."
|
||||||
|
mkdir -p /var/run/mumble-server/
|
||||||
chown mumble-server /var/run/mumble-server/
|
chown mumble-server /var/run/mumble-server/
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -182,7 +183,6 @@ usermod --append --groups ssl-cert mumble-server
|
||||||
# Set SuperUser password
|
# Set SuperUser password
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
mkdir -p /var/run/mumble-server/
|
|
||||||
murmurd -ini "$mumble_conf" -supw "$su_passwd" "$instance_id"
|
murmurd -ini "$mumble_conf" -supw "$su_passwd" "$instance_id"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue