systemd: protect /usr when running under systemd
This commit is contained in:
parent
31d9aebf0b
commit
54d5d9d1cc
|
@ -9,6 +9,9 @@ ExecStart=@prefix@/bin/mpd --no-daemon
|
|||
LimitRTPRIO=50
|
||||
LimitRTTIME=infinity
|
||||
|
||||
# disallow writing to /usr, /bin, /sbin, ...
|
||||
ProtectSystem=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Also=mpd.socket
|
||||
|
|
Loading…
Reference in New Issue