mpd.service.in 354 Bytes
Newer Older
1 2
[Unit]
Description=Music Player Daemon
3
Documentation=man:mpd(1) man:mpd.conf(5)
4
After=network.target sound.target
5 6 7 8

[Service]
ExecStart=@prefix@/bin/mpd --no-daemon

9 10 11 12
# allow MPD to use real-time priority 50
LimitRTPRIO=50
LimitRTTIME=-1

13 14 15
# disallow writing to /usr, /bin, /sbin, ...
ProtectSystem=yes

16 17
[Install]
WantedBy=multi-user.target
18
Also=mpd.socket