mpd/systemd/mpd.service.in

20 lines
372 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Music Player Daemon
Documentation=man:mpd(1) man:mpd.conf(5)
After=network.target sound.target
[Service]
Type=notify
ExecStart=@prefix@/bin/mpd --no-daemon
2014-02-12 21:00:53 +01:00
# allow MPD to use real-time priority 50
LimitRTPRIO=50
LimitRTTIME=infinity
2014-02-12 21:00:53 +01:00
# disallow writing to /usr, /bin, /sbin, ...
ProtectSystem=yes
[Install]
WantedBy=multi-user.target
Also=mpd.socket