Constantsยง
Functionsยง
- running_
in_ ๐systemd - Checks if the current process is (apparently at least) running under systemd. We use this in various places to e.g. log to the journal instead of printing to stdout.
- unprivileged_
subprocess ๐ - Return a prepared subprocess configuration that will run as an unprivileged user if possible.