diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-06-20 17:52:28 -0300 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-06-20 17:52:28 -0300 |
commit | 5c6288c62d4a2a7f2e519758a6f851564a293b38 (patch) | |
tree | 7760dbe9b37e231d6c7a30dca65eb6be923aa0e0 /init.d/dbus | |
parent | 31ee4472e897cbf0c3d61bd56bd5864f4507b659 (diff) |
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'init.d/dbus')
-rwxr-xr-x | init.d/dbus | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init.d/dbus b/init.d/dbus index 055c1ba..57e13fd 100755 --- a/init.d/dbus +++ b/init.d/dbus @@ -1,6 +1,8 @@ #!/sbin/openrc-run +DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR:-${RC_SVCDIR}}/bus" 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_args="--session --syslog --nofork --address ${DBUS_SESSION_BUS_ADDRESS}" command_background=yes +export_vars="DBUS_SESSION_BUS_ADDRESS" |