You are not logged in.

#1 2015-12-10 04:55:26

openrijal
Member
Registered: 2015-12-10
Posts: 2

systemd dependency across host

Hello all.

I have run into a situation with systemd.

Suppose I have 2 services A.service and B.service

A.service is a requirement for B.service. I could put options "Requires" and "After" to achieve the "start only after the dependency starts" type of condition, when they are in the same machine.

Now, if A.service only runs in HOST-A and B.service only runs in HOST-B, is there any way to retain the dependency? I have the required privileges in both the HOSTS.

Please help if this is possible.

Regards.

Offline

#2 2015-12-10 04:57:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: systemd dependency across host

How would the two hosts know about each other? This seems to be an X-Y problem.

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB