mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
[fix] ExecStartPre runs with mumble-server privileges, so cannot mkdir in /var/run. Use RuntimeDirectory instead, which is meant for that
This commit is contained in:
parent
f4acf1d422
commit
a56e11172c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ After=network.target
|
|||
User=mumble-server
|
||||
Group=mumble-server
|
||||
Type=forking
|
||||
ExecStartPre=mkdir -p /var/run/mumble-server
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue