summaryrefslogtreecommitdiff
path: root/init.d/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/dbus')
-rwxr-xr-xinit.d/dbus6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.d/dbus b/init.d/dbus
new file mode 100755
index 0000000..055c1ba
--- /dev/null
+++ b/init.d/dbus
@@ -0,0 +1,6 @@
+#!/sbin/openrc-run
+
+pidfile="${XDG_RUNTIME_DIR:-${RC_SVCDIR}}/${RC_SVCNAME#*.}"
+command="/usr/bin/dbus-daemon"
+command_args="--session --syslog --nofork --address unix:path=${XDG_RUNTIME_DIR:-${RC_SVCDIR}}/bus"
+command_background=yes