system/books/files/runit.conf
Marty Oehme e0d88a9ee1
feat(system): Move user services to XDG_STATE_HOME directory
User services under control of runit under turnstiled now default to the
`~/.local/state/service/` directory (and `~/.local/state/service-env/`
for the env vars). This mimics the system-wide runit setup, with service
templates kept in `/etc/sv` (in my case `~/.config/sv` for user
services) and active ones in `/var/service`
2025-02-26 22:33:05 +01:00

16 lines
615 B
Text

# This is the configuration file for turnstile's runit backend.
#
# It follows the POSIX shell syntax (being sourced into a script).
# The complete launch environment available to dinit can be used.
#
# It is a low-level configuration file. In most cases, it should
# not be modified by the user.
# the name of the service that turnstile will check for login readiness
ready_sv="turnstile-ready"
# the directory user service files are read from.
services_dir="${HOME}/.local/state/service"
# the environment variable directory user service files can read from.
service_env_dir="${HOME}/.local/state/service-env"