2011-09-30 08:37:36 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Music Player Daemon
|
2012-11-21 17:26:23 +01:00
|
|
|
After=network.target sound.target
|
2011-09-30 08:37:36 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@prefix@/bin/mpd --no-daemon
|
|
|
|
|
2014-02-12 21:00:53 +01:00
|
|
|
# allow MPD to use real-time priority 50
|
|
|
|
LimitRTPRIO=50
|
2015-12-01 08:53:35 +01:00
|
|
|
LimitRTTIME=infinity
|
2014-02-12 21:00:53 +01:00
|
|
|
|
2015-08-11 19:00:21 +02:00
|
|
|
# disallow writing to /usr, /bin, /sbin, ...
|
|
|
|
ProtectSystem=yes
|
|
|
|
|
2011-09-30 08:37:36 +02:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2015-08-11 18:58:34 +02:00
|
|
|
Also=mpd.socket
|