Fredrik Jonson <fred...@jonson.org> writes: > What is the recommended way to set up Systemd user services with Debian? [...] > AFAIU, to make this happen, I need to have a user Systemd instance started on > boot. How do I set up my Debian server to automatically start a user instance > for a regular user on boot to control the user's service units? Is there a > recommended way to do it?
Just run loginctl enable-linger [USER...] as root. This will make logind start the systemd user instance for the given user(s). Ansgar