summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-02 11:43:58 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-02 11:44:13 +0200
commit471d92135b044bc32e5d7488727d6e2ec9118b79 (patch)
tree8ecdec9935aab7f86d54d96e0cb9f8e0209ef3f1
parenteb9ed2ad79b1a641a12bd6b5ba12482f2f01a882 (diff)
downloadrunit-void-471d92135b044bc32e5d7488727d6e2ec9118b79.tar.gz
runit-void-471d92135b044bc32e5d7488727d6e2ec9118b79.tar.xz
runit-void-471d92135b044bc32e5d7488727d6e2ec9118b79.zip
New service: uuidd.
-rwxr-xr-xservices/uuidd/run4
l---------services/uuidd/supervise1
2 files changed, 5 insertions, 0 deletions
diff --git a/services/uuidd/run b/services/uuidd/run
new file mode 100755
index 0000000..768b34b
--- /dev/null
+++ b/services/uuidd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ ! -d /run/uuidd ] && mkdir -p /run/uuidd
+chown uuidd:uuidd /run/uuidd
+exec chpst -u uuidd:uuidd uuidd -F -P
diff --git a/services/uuidd/supervise b/services/uuidd/supervise
new file mode 120000
index 0000000..e90db16
--- /dev/null
+++ b/services/uuidd/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.uuidd
\ No newline at end of file