From fb2fe2957631440ceabe03cd8e4eaa6167b93f5b Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 30 Jul 2014 23:57:59 +0200 Subject: systemd: add mpd service and socket --- systemd/user/mpd.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 systemd/user/mpd.service (limited to 'systemd/user/mpd.service') 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 -- cgit v1.2.3-70-g09d2