summaryrefslogtreecommitdiff
path: root/system/utmps/utmpd.run
diff options
context:
space:
mode:
Diffstat (limited to 'system/utmps/utmpd.run')
-rw-r--r--system/utmps/utmpd.run8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/utmps/utmpd.run b/system/utmps/utmpd.run
new file mode 100644
index 000000000..47bc824a2
--- /dev/null
+++ b/system/utmps/utmpd.run
@@ -0,0 +1,8 @@
+#!/bin/execlineb -P
+
+fdmove -c 2 1
+s6-setuidgid utmp
+cd /run/utmps
+fdmove 1 3
+s6-ipcserver -1 -- .utmpd-socket
+utmps-utmpd