Comment Comment by melolife I've seen bad service design having e.g.Before=systemd-user-sessions.serviceThis means that as long as systemd is trying to (re)start the service, nobody can log in. Which is a problem with infinite restarts.It's still pretty easy to accidentally set up an infinite restart loop with the default settings if your service takes more than 2s to crash. parent melolife 2 years ago
Before=systemd-user-sessions.service
This means that as long as systemd is trying to (re)start the service, nobody can log in. Which is a problem with infinite restarts.
It's still pretty easy to accidentally set up an infinite restart loop with the default settings if your service takes more than 2s to crash.