mpd.service.in 372 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

[Service]
7
Type=notify
8 9
ExecStart=@prefix@/bin/mpd --no-daemon

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

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

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