Category:Init/polyfills/systemd user session

From postmarketOS Wiki

Here is list program that provide systemd user session (systemd --user) functionality/api.

superd

Runs various daemons in the user's session, such as callaudiod for accepting phone calls. It is crucial that if these daemons are crashing, they are properly restarted. superd was invented to be compatible with systemd user service files, and as of writing it is being used in Sxmo. But due to various incompatibilites it does not integrate well enough with gnome-session and cannot be used there. So right now we just don't supervise userspace daemons there and they don't restart if they crash. We can't use it with Plasma either, and if we had proper systemd user services instead, Plasma would have a faster session startup since parts of the session could be started in parallel and were synced (without race conditions).

Usage in sxmo

The superd service files live in:

/usr/share/superd/services/

they get triggered on startup with:

/usr/share/sxmo/default_hooks/sxmo_hook_start.sh

to manually start or stop a service:

superctl start sxmo_servicename
superctl stop sxmo_servicename

This category currently contains no pages or media.