systemd user mode

Posted on

Hi, everybody,

When user logs in I need to run user-specific daemon for him. As far as I know systemd in RHEL 7.2 does not support user mode, only system. Is there any alternative way to run daemons in user modes?
I've tried setting User option in *.service file but I only can hardcode it, but not set dynamically as documentation of systemd says: "Please note that specifiers "%U", "%h", "%s" are mostly useless when systemd is running in system mode. PID 1 cannot query the user account database for information...". Can anyone provide some information how can I achieve wanted result without systemd user mode?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.