[systemd-devel] Can a systemd --user instance rely on After= of systemd --system instance?
Lennart Poettering
lennart at poettering.net
Sun Feb 26 20:35:27 UTC 2017
On Sat, 25.02.17 17:34, Patrick Schleizer (patrick-mailinglists at whonix.org) wrote:
> Hi,
>
> I read, that a systemd --user instance cannot use Requires=.
>
> But what about After=? Can a systemd --user instance use
> After=some-system.service?
The units of the --user instance live in an entirely disjunct
namespace from those in the --system instance. Hence yes, you can
absolutely use After= and/or Requires= between two user services, but
it will always just be between two *user* services, and never between
a user and a system service, since the unit state engines of the
system and user instance are completely disconnected, as said.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list