aboutsummaryrefslogtreecommitdiffstats
path: root/mpd.service.in
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-09-30 08:37:36 +0200
committerMax Kellermann <max@duempel.org>2011-09-30 08:37:36 +0200
commit83f6498aac5f3d62611d392c8a35f1b1fcf1e75a (patch)
treedfbd9d5669e2df93e06eaf9c3c191bc717ec7e93 /mpd.service.in
parent525a791987c66ed2f8b1ca9e5357836f536fdb8b (diff)
downloadmpd-83f6498aac5f3d62611d392c8a35f1b1fcf1e75a.tar.gz
mpd-83f6498aac5f3d62611d392c8a35f1b1fcf1e75a.tar.xz
mpd-83f6498aac5f3d62611d392c8a35f1b1fcf1e75a.zip
Install systemd service file if systemd is available
Diffstat (limited to '')
-rw-r--r--mpd.service.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/mpd.service.in b/mpd.service.in
new file mode 100644
index 000000000..9e9282fa6
--- /dev/null
+++ b/mpd.service.in
@@ -0,0 +1,9 @@
+[Unit]
+Description=Music Player Daemon
+After=sound.target
+
+[Service]
+ExecStart=@prefix@/bin/mpd --no-daemon
+
+[Install]
+WantedBy=multi-user.target