Re: Where does systemd-logind.service store its stats (e.g. loginctl things)?

Andy Smith <[email protected]> Sat, 4 Jul 2026 14:53:10 +0000
Newsgroups gmane.linux.debian.user
Message-ID <[email protected]>
Hi,

On Sat, Jul 04, 2026 at 12:49:40PM +0100, Chris Green wrote:
> in particular when I run 'loginctl enaable-linger chris' where is the
> required flag set?

It's stored as a zero byte file in /var/lib/systemd/linger/.

I assume the other settings are somewhere under /var/lib/systemd as
well.

Thanks,
Andy