diff options
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/user/mpd.service | 11 | ||||
-rw-r--r-- | systemd/user/mpd.socket | 8 |
2 files changed, 19 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 diff --git a/systemd/user/mpd.socket b/systemd/user/mpd.socket new file mode 100644 index 0000000..1875980 --- /dev/null +++ b/systemd/user/mpd.socket @@ -0,0 +1,8 @@ +[Unit] +Description=Music Player Daemon Sockets + +[Socket] +ListenStream=6600 + +[Install] +WantedBy=sockets.target |