I have multiple services running as systemd user services stored under .config/systemd/user

They all have the entry WantedBy=multi-user.target

Last night all of them stopped, journalctl has the following entry

systemd[1492]: Stopped target Main User Target.

What happened and why did it happen?


  • Automatic updates trying a reboot, but fail? – Marco Dec 30 '20 at 6:18

The services where automatically terminated, after the user logged out.

loginctl enable-linger username

Fixed this

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.