summaryrefslogtreecommitdiff
path: root/init.d/dbus
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-05-04 10:01:34 -0300
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-05-04 10:01:34 -0300
commit31ee4472e897cbf0c3d61bd56bd5864f4507b659 (patch)
tree5b0a8af5189ea1b88a36e9b909f3933899d9a1cf /init.d/dbus
re-initial
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
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