Install systemd service file if systemd is available

This commit is contained in:
Miklos Vajna
2011-09-30 08:37:36 +02:00
committed by Max Kellermann
parent 525a791987
commit 83f6498aac
4 changed files with 27 additions and 0 deletions

9
mpd.service.in Normal file
View File

@@ -0,0 +1,9 @@
[Unit]
Description=Music Player Daemon
After=sound.target
[Service]
ExecStart=@prefix@/bin/mpd --no-daemon
[Install]
WantedBy=multi-user.target