How do you tell
systemd that a requirement is satisfied with one of any instance from a list of instances?
Say that I have a target called
main_target.target and a service template called
serv@.service. During normal operation, the only instances of
serv@.service that exist are:
Only one of those instances exist at any given time, and I want to tell
main_target.target that it's satisfied whenever any of the three instances exist.
Intuitively, I'd like something similar to SMF's
require_any tag, but I haven't been able to find anything like that in any of the
Note 1: I know that I can make
serv@ex3 and mutually exclusive with the
Note 2: I also know that I can use the
After= directives to tier the three instances to start in a certain order.