aboutsummaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/s6-rc/source-base/wtmpd/run
diff options
context:
space:
mode:
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base/wtmpd/run')
-rwxr-xr-xlayout/rootfs/etc/s6-rc/source-base/wtmpd/run7
1 files changed, 7 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/wtmpd/run b/layout/rootfs/etc/s6-rc/source-base/wtmpd/run
new file mode 100755
index 0000000..a49e0de
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/wtmpd/run
@@ -0,0 +1,7 @@
+#!/command/execlineb -S1
+fdmove -c 2 1
+s6-setuidgid utmp
+cd /var/log/wtmpd
+fdmove 1 3
+s6-ipcserver -1 -c 1000 -- /run/utmps/.wtmpd-socket
+utmps-wtmpd