summary refs log tree commit diff
path: root/os/etc/s6-rc/src/dbus-system-srv/run
diff options
context:
space:
mode:
Diffstat (limited to 'os/etc/s6-rc/src/dbus-system-srv/run')
-rw-r--r--os/etc/s6-rc/src/dbus-system-srv/run7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/etc/s6-rc/src/dbus-system-srv/run b/os/etc/s6-rc/src/dbus-system-srv/run
new file mode 100644
index 0000000..99af96b
--- /dev/null
+++ b/os/etc/s6-rc/src/dbus-system-srv/run
@@ -0,0 +1,7 @@
+#!/bin/execlineb -P
+
+foreground { dbus-uuidgen --ensure=/etc/machine-id }
+foreground { install -m775 -d /run/dbus }
+
+fdmove -c 2 1
+exec /usr/bin/dbus-daemon --system --nofork --nopidfile --nosyslog --print-pid=3