aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/user/mpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/user/mpd.service')
-rw-r--r--systemd/user/mpd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd/user/mpd.service b/systemd/user/mpd.service
new file mode 100644
index 0000000..c9c3276
--- /dev/null
+++ b/systemd/user/mpd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Music Player Daemon
+
+[Service]
+Environment=PULSE_PROP=application.icon_name=sound
+ExecStart=/usr/bin/mpd --no-daemon
+ExecStop=/usr/bin/mpd --kill
+
+[Install]
+WantedBy=default.target
+Also=mpd.socket