use dbus-run-session to launch tuxclockerd

Allows launching DBus session and tuxclockerd in one script
This commit is contained in:
Jussi Kuokkanen 2023-11-22 15:20:30 +02:00
parent ba014a7ea2
commit 2ff1873de9

View File

@ -1,3 +1,5 @@
cd "$(dirname "$0")" cd "$(dirname "$0")"
DBUS_SYSTEM_BUS_ADDRESS=unix:path=/tmp/tuxclocker-dbus-socket sudo -E LD_LIBRARY_PATH=../inst/lib ../inst/bin/tuxclockerd sudo dbus-run-session --config-file=dbusconf.conf \
sudo -E DBUS_SYSTEM_BUS_ADDRESS=unix:path=/tmp/tuxclocker-dbus-socket \
LD_LIBRARY_PATH=../inst/lib ../inst/bin/tuxclockerd