summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorAlessio Sergi <al3hex@gmail.com>2014-06-11 11:22:11 +0200
committerAlessio Sergi <al3hex@gmail.com>2014-06-11 11:22:11 +0200
commit16e4ef97015a1609de3b1c35c5b67a5ba1bca7d9 (patch)
treeedb2b6d4facd55e59cf1f646a13f88d1b81e9709 /services
parenta0fd2a02db72171f0c7220fb0970d9c88bde3303 (diff)
downloadrunit-void-16e4ef97015a1609de3b1c35c5b67a5ba1bca7d9.tar.gz
runit-void-16e4ef97015a1609de3b1c35c5b67a5ba1bca7d9.tar.xz
runit-void-16e4ef97015a1609de3b1c35c5b67a5ba1bca7d9.zip
New service: mpd
Diffstat (limited to 'services')
-rwxr-xr-xservices/mpd/run3
l---------services/mpd/supervise1
2 files changed, 4 insertions, 0 deletions
diff --git a/services/mpd/run b/services/mpd/run
new file mode 100755
index 0000000..5045420
--- /dev/null
+++ b/services/mpd/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+install -d -m 0755 -o mpd -g mpd /run/mpd
+exec /usr/bin/mpd --no-daemon
diff --git a/services/mpd/supervise b/services/mpd/supervise
new file mode 120000
index 0000000..4fd5eab
--- /dev/null
+++ b/services/mpd/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.mpd
\ No newline at end of file