aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/mpd.socket
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-12 21:22:36 +0100
committerMax Kellermann <max@duempel.org>2014-02-12 21:22:36 +0100
commit9e02b13ab3b26ca1da6b1df2cf6ad9e9b281b2e0 (patch)
treec0f407866730f1607d64022c6819963bf6a7dfad /systemd/mpd.socket
parent5a486a940c069e3e9cafd7061c3d7b714ce9877e (diff)
downloadmpd-9e02b13ab3b26ca1da6b1df2cf6ad9e9b281b2e0.tar.gz
mpd-9e02b13ab3b26ca1da6b1df2cf6ad9e9b281b2e0.tar.xz
mpd-9e02b13ab3b26ca1da6b1df2cf6ad9e9b281b2e0.zip
systemd: add socket activation files
Diffstat (limited to 'systemd/mpd.socket')
-rw-r--r--systemd/mpd.socket9
1 files changed, 9 insertions, 0 deletions
diff --git a/systemd/mpd.socket b/systemd/mpd.socket
new file mode 100644
index 000000000..c4692592c
--- /dev/null
+++ b/systemd/mpd.socket
@@ -0,0 +1,9 @@
+[Socket]
+ListenStream=/run/mpd/socket
+ListenStream=6600
+Backlog=5
+KeepAlive=true
+PassCredentials=true
+
+[Install]
+WantedBy=sockets.target