Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • 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?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat