4 ms·
What kind of user services and "portable services" are you managing? I have trouble imagining what that means. User pulseaudio daemon on your laptop/desktop? Or
by effie 4y ago
What kind of user services and "portable services" are you managing? I have trouble imagining what that means. User pulseaudio daemon on your laptop/desktop? Or some server services for many clients?
- esarbe 4y agoPortable services are a systemd thing: https://systemd.io/PORTABLE_SERVICES/ https://systemd.io/PORTABLE_SERVICES/ In short it allows you to bundle your application in one file and have it run in a sandbox. Like a docker container, but without docker, managed by systemd. https://wiki.archlinux.org/title/Systemd/User https://wiki.archlinux.org/title/Systemd/User User services are also a systemd thing; you can create systemd unit files (service descriptions) and have them run as a user. So as a user you can manage your own running processes using the same systemctl interface as system processes. If you are allowed to "linger" on a system, you can run user processes as a service, set them up and tear them down without root permissions. I have several systems where I run i.e. webservices without having full root access. I build an portable systems image, deploy it to the server and then can manage that service with my unprivileged user account. Systemd does all the usual things, like logging, supervision, resource quotas, and so on.