blob: a183643ae7d4287e0dcb0391a246f1e03247ed38 (
plain) (
tree)
|
|
#!/bin/sh
exec 2>&1
[ -r ./conf ] && . ./conf
: "${DBUS_SESSION_BUS_ADDRESS:=unix:path=${XDG_RUNTIME_DIR:-/run/user/$(id -u)}/bus}"
. "$HOME/.config/common_service.sh"
if [ -d "$TURNSTILE_ENV_DIR" ]; then
echo "$DBUS_SESSION_BUS_ADDRESS" > "$TURNSTILE_ENV_DIR"/DBUS_SESSION_BUS_ADDRESS
fi
exec chpst -e "$TURNSTILE_ENV_DIR" dbus-daemon --session --nofork --nopidfile --address="$DBUS_SESSION_BUS_ADDRESS" $OPTS
|