aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/source/system/other/dbus-daemon-srv/run
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/source/system/other/dbus-daemon-srv/run')
-rw-r--r--src/lib/source/system/other/dbus-daemon-srv/run15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/source/system/other/dbus-daemon-srv/run b/src/lib/source/system/other/dbus-daemon-srv/run
new file mode 100644
index 0000000..73c44b6
--- /dev/null
+++ b/src/lib/source/system/other/dbus-daemon-srv/run
@@ -0,0 +1,15 @@
+#!@shebangdir@/execlineb -P
+
+# ISC license.
+# https://www.freedesktop.org/wiki/Software/dbus/
+
+fdmove -c 2 1
+
+foreground { dbus-uuidgen --ensure=/etc/machine-id }
+foreground { install -m755 -g 81 -o 81 -d /run/dbus }
+
+dbus-daemon
+ --system
+ --nofork
+ --nopidfile
+ --print-pid=3