Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yup. 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

(You can install global services, and add `user=x`, etc, obviously. But I like to keep things self-contained.)



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: