turnstiled(8)
β¨ turnstiled(8) β¨
okay bestie, welcome to the System Manager's Manual glow-up edition of turnstiled β say hi to the main session management daemon π she's the one running the whole vibe backstage and you literally never see her, which is iconic behaviour honestly π
πΈ NAME πΈ
turnstiled β the main session management daemon π
π¦ SYNOPSIS π¦
turnstiled [config_path]
π DESCRIPTION π
okay so turnstiled is a daemon, right, and her whole thing is that she tracks user sessions and, if she feels like it, spawns and manages service managers for them. main character energy, honestly π«Ά
for the config deets, go read turnstiled.conf(5) β she has a whole personality doc and you're gonna want it πβ¨
the way it works: the second a user logs in, she spawns an instance of the chosen service manager for that user π± and then on the last logout she shuts that instance down again β unless she's been configured to linger, in which case she's like "no babe stay, keep the lights on" π
and how does she even know about logins and logouts? through pam_turnstile(8), that's who's passing the notes π
ngl the daemon itself takes no options other than possibly a configuration file path, and that's her sole argument. if you don't hand her one, she just uses the default path, which is typically /etc/turnstile/turnstiled.conf ποΈ
π XDG_RUNTIME_DIR MANAGEMENT π
she can ALSO serve as the manager of the $XDG_RUNTIME_DIR environment variable and directory π like, she'll hold down that whole corner of your system too. versatile queen.
π ENVIRONMENT π
TURNSTILED_LINGER_ENABLE_FORCEβ if this is set during daemon startup (to any value, she's not picky), it enables lingering even if rundir management is disabled π« this one's primarily for the people who want the linger functionality and have already worked around the problem in their own rundir management system themselves. lowkey a pro move.
β οΈ but listen. enabling this without having worked around that problem may lead to unfortunate consequences π not a vibe. read it again. we're serious.
and of course, lingering still has to be enabled in the configuration anyway β this flag doesn't do the whole job for you, she's an enabler not a magician π
that's the whole page bestie, written 2026-02-25, straight out of the System Manager's Manual β go forth and manage those sessions πβ¨ππ¦πΈ
π¦ 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