Hi Zbigniew

On Wed, Oct 8, 2014, at 06:39 AM, Zbigniew Jędrzejewski-Szmek wrote:
> You can also make a symlink from /etc/systemd/system/xxx.service to
> either of the two files and manage it by hand, calling systemctl
> daemon-reload afterwards. I think this should work.
> 
> > If other systemd units have a Requires= dependency on this daemon, how do I 
> > deal with the toggle?  Is there a "Require=this-instance-OR-that-instance" 
> > equivalent?
> No.


I think then this is the right, or only?, way to deal with the toggle AND 
handle the Requires=.

Set the other units' dependency to the **symlink**'s name

   Requires=xxx.service

then manually change the symlink source AND daemon-reload to effect the toggle.

Did I understand correctly?

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

Reply via email to