aboutsummaryrefslogblamecommitdiffstats
path: root/systemd/mpd.service.in
blob: 6dce7d93df9bc4b88f17bd99f7aab244f553f0c2 (plain) (tree)
1
2
3
4
5
6
7
8

                               
                                        
                                 



                                      



                                        


                                            

                          
               
[Unit]
Description=Music Player Daemon
Documentation=man:mpd(1) man:mpd.conf(5)
After=network.target sound.target

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

# allow MPD to use real-time priority 50
LimitRTPRIO=50
LimitRTTIME=-1

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

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