Module isolation

Module isolation 

Source

Constantsยง

DEFAULT_UNPRIVILEGED_USER ๐Ÿ”’

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.