aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/mpd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/mpd.service.in')
-rw-r--r--systemd/mpd.service.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/systemd/mpd.service.in b/systemd/mpd.service.in
index de91eb4d5..6dce7d93d 100644
--- a/systemd/mpd.service.in
+++ b/systemd/mpd.service.in
@@ -1,5 +1,6 @@
[Unit]
Description=Music Player Daemon
+Documentation=man:mpd(1) man:mpd.conf(5)
After=network.target sound.target
[Service]
@@ -9,5 +10,9 @@ ExecStart=@prefix@/bin/mpd --no-daemon
LimitRTPRIO=50
LimitRTTIME=-1
+# disallow writing to /usr, /bin, /sbin, ...
+ProtectSystem=yes
+
[Install]
WantedBy=multi-user.target
+Also=mpd.socket