[systemd-devel] Not able to access system device from session service
Silvio Knizek
killermoehre at gmx.net
Mon Aug 20 13:57:28 UTC 2018
Am Montag, den 20.08.2018, 19:22 +0530 schrieb deepan muthusamy:
> I started one application as system service in /etc/systemd/system by
> giving command "systemctl start mysystem.service".
> I have one more application which i have to start as session service
> in etc/systemd/user by giving command "systemctl --user start
> mysession.service".
>
> My session.service has dependency on mysystem.service, so I
> mentioned in Requires and After command in session.service.
>
> But when iam trying to session.service it is showing
> "mysystem.service" not found. Can anyone help me with this?
Hi,
the systemd --user session don't know about the systemd --system
session (and vice versa). So you can't have dependencies among them.
They are completly seperated (except for .device and .mount units)
BR
More information about the systemd-devel
mailing list