systemd and journalctl · Unit files and timers
Keep user services running after logout
Let a user's services start at boot and keep running without a login session.
sudo loginctl enable-linger myuser
Official systemd and journalctl documentation
More unit files and timers commands
- Write a service unit
- Reload unit files
- Override a unit safely
- Show a unit's effective definition
- Write a timer
- List timers
All unit files and timers commands · systemd and journalctl cheatsheet