2 ms·
Has anyone ever managed to have per user systemd services? For whatever reason it never works for me, including timers.
by 77pt77 7y ago
Has anyone ever managed to have per user systemd services?
For whatever reason it never works for me, including timers.
- stevekemp 7y agoYup. You need to enable the "linger" stuff, so that jobs work when the user isn't around. But I deploy a lot of services running as specific users and it works well. Good overview here: https://wiki.archlinux.org/index.php/systemd/User https://wiki.archlinux.org/index.php/systemd/User (You can install global services, and add `user=x`, etc, obviously. But I like to keep things self-contained.)
- cripblip 7y agoThe target names for install are confusingly different (default vs multi-user) , check that when enabling, works really well