Skip to content

Commit

Permalink
fix missing directory after reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
Jibec committed Jan 2, 2019
1 parent f9abf64 commit b5f068a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 deletions.
2 changes: 2 additions & 0 deletions conf/systemd.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ After=network.target
User=mumble-server
Group=mumble-server
Type=forking
# https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=
RuntimeDirectory=mumble-server
ExecStart=/usr/sbin/murmurd -ini __FINALPATH__/mumble-server.ini
PIDFile=/var/run/mumble-server/__APP__.pid
ExecReload=/bin/kill -s HUP $MAINPID
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"url": "https://mumble.info",
"license": "BSD-3-Clause",
"maintainer": {
"name": "jibec",
"name": "Jean-Baptiste Holcroft",
"email": "[email protected]"
},
"requirements": {
"yunohost": ">= 3.1.0"
},
"version": "1.2.8~ynh5",
"version": "1.2.8~ynh6",
"multi_instance": true,
"services": [
],
Expand Down
4 changes: 0 additions & 4 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ ynh_add_systemd_config
chmod -R 770 "$final_path"
chown -R :mumble-server "$final_path"

# 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/

#=================================================
# Add user to ssl-cert so it can read certificates
#=================================================
Expand Down
2 changes: 0 additions & 2 deletions scripts/restore
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ ynh_install_app_dependencies mumble-server mailutils
# Restore permissions on app files
chmod -R 770 "$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
Expand Down
3 changes: 0 additions & 3 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ ynh_add_systemd_config

chmod -R 770 "$final_path"
chown -R :mumble-server "$final_path"
# 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/

#=================================================
# Add user to ssl-cert so it can read certificates
Expand Down

0 comments on commit b5f068a

Please sign in to comment.