turnstiled.conf(5)
π turnstiled.conf β bestie edition π
okay so this is the manual page for turnstiled.conf(5), living in the File Formats Manual section of your man pages. it's the config file for turnstiled(8). grab a snack, we're going in π
β¨ NAME β¨
turnstiled.conf β literally the configuration file for turnstiled(8). that's it, that's the name, periodt π
πΈ DESCRIPTION πΈ
so bestie, this file right here holds the daemon's config. it usually chills in /etc/turnstile (or whatever sysconfdir you're feeling that day). π
and here's the cute part: the daemon can totally run with no config file at all because it ships with built-in defaults. iconic behavior honestly. but there are so many options you might wanna tweak to your liking, so likeβ¦ do you π
π SYNTAX π
the syntax is simple and line-based, no cap. each option line is just the option name and the option value, separated by the = symbol. that's the whole vibe.
comments start with the # symbol. also, all whitespace is ignored β and when she says all, she means all:
- lines containing only whitespace β ignored
- trailing whitespace β ignored
- leading whitespace β ignored
- whitespace inbetween names β ignored
okay and one thing to know: only 1024 characters at most are read per line, including whitespace. if a line is longer than that, the rest is simply ignored. so don't be out here writing essays on one line π
π OPTIONS π
here's the full list of possible options, with their type and default value, plus extra description because she's thorough like that.
quick heads up: boolean options accept only the values yes and no. other options may accept more values. slay π«Ά
debug(boolean:no) β whether to output debug information. this is verbose logging that's only useful when you're investigating issues. it's giving detective mode πbackend(string:dinit) β the service backend to use. the default is build-dependent and in this case is set tosuss.
it can also be set to none to disable the service backend. in that case, nothing will be spawned, but the daemon will still perform login tracking and auxiliary tasks such as rundir management. so like, it stops doing some stuff but not all of it, iykyk β¨
debug_stderr(boolean:no) β whether to print debug messages also to stderr.linger(combo:maybe) β whether to keep already started services running even after the last login of the user is gone. the default behavior is to stop them unless a file with the same name as the user exists in/var/lib/turnstiled/linger. π
it is not necessary to log in and out when the linger directory is changed, because the current state is checked upon last logout. convenient fr fr.
note that lingering is disabled whenmanage_rundiris set tono. that's because various user services may be relying on the rundir's existence, and it cannot be deleted until the user is gone. this is overridable with an environment variable (for those who worked around it on their own). π
valid values are yes, no and maybe.
rundir_path(string:/run/user/%u) β the value of$XDG_RUNTIME_DIRthat gets exported into the user service environment. special values%u(user ID),%g(group ID) and%%(the character%) are allowed and substituted in the string. set it to the empty string if you want to prevent it from being exported altogether.
it must not end with a slash, be relative, or be just the root filesystem. π«
if you're using elogind, you should not mess with this path, and doing so will result in subtly broken systems. you should in general not mess with this path. like, please, bestie, hands off π
manage_rundir(boolean:no) β whether to manage the$XDG_RUNTIME_DIR. this may conflict with other rundir management methods, such aselogind, so when turning it on, make sure this is not the case.
it is a requirement for the linger functionality to work. π
the default is dependent on the build.
export_dbus_address(boolean:yes) β whether to export$DBUS_SESSION_BUS_ADDRESSinto the environment. when enabled, this will be exported and set to'unix:path=RUNDIR/bus'where RUNDIR is the expanded value ofrundir_path. this works regardless of if rundir is managed. β¨login_timeout(integer:60) β the timeout for the login, in seconds. if the user services that are a part of the initial startup process take longer than this, the service manager instance is terminated and all connections to the session are closed. dramatic but necessary πroot_session(boolean:no) β whether to run a user service manager for root logins. by default, the root login is tracked but a service manager is not run for it. if you override that, the root user is treated like any other user and will have its own user services. this may result in various gotchas, such as root having a session bus, and so on. β οΈ
and that's the whole page babes π¦ she was written for turnstiled.conf(5), version dated 2026-02-25 β no cap, that's the date at the bottom of the original, and the man page name is right there in the footer too. go forth and configure, you've got this ππ
π¦ where this page comes from
- ubuntu stonking: turnstile 0.1.11-2 Β· BSD-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms