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

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to