summary refs log tree commit diff
path: root/services/uuidd
diff options
context:
space:
mode:
Diffstat (limited to 'services/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