README.md
SQT - Service Quality Time
Setup
The sqt script simplifies service management as non-root user and, in order to run, it needs the
following environments to be set:
- XDG_RUNTIME_DIR
- DBUS_SESSION_BUS_ADDRESS
plus the lingering option active for the user.
Environmanet variables
In case the environment variables are not set, itβs possible to put the following in the ~/.profile
of the user which is going to run the services:
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(id -u)/bus"
Enable lingering
In order to enable the user to run the service to βlingerβ it is necessary to first run the following command as user root:
# loginctl enable-linger <user>