[systemd-devel] synchronizing user service
Alec Leamas
leamas.alec at gmail.com
Mon Mar 10 09:11:26 PDT 2014
On 3/10/14, Mantas Mikulėnas <grawity at gmail.com> wrote:
> On Mon, Mar 10, 2014 at 5:46 PM, Alec Leamas <leamas.alec at gmail.com> wrote:
>> […]
>> Perhaps I just got it all wrong, and systemd will (does?) also handle
>> the session services running within the session? Or is there a
>> reasonable robust way for a system user service started outside the
>> session to join it? Or, my first thought, is there a way (API/tool)
>> for non-systemd services to wait for a systemd service being started
>> or so?
>
> Currently, there is `systemctl --user import-environment` that the
> xprofile script can run, to make $DISPLAY and $XAUTHORITY accessible
> to `systemd --user` services. In the future, the entire session might
> be started through `systemd --user`.
Ah... that's it! Perhaps not the most elegant solution, being
all-services-or-none. But absolutely a reasonable approach... will
test. Thanks!
--alec
More information about the systemd-devel
mailing list