summaryrefslogtreecommitdiff
path: root/init.d/dbus
blob: 57e13fda9f2422be8805cf8589fc0af684615a26 (plain)
1
2
3
4
5
6
7
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 ${DBUS_SESSION_BUS_ADDRESS}"
command_background=yes
export_vars="DBUS_SESSION_BUS_ADDRESS"