Tollef Fog Heen <tfh...@err.no> writes:

> I believe you can do this fairly easily.

> A is the service that needs to be reloaded when a network device shows
> up.  In A's service file, have ReloadPropagatedFrom=network.target and
> then make your ifup@.service include an ExecStart=systemctl reload
> network.target.  You probably want the same for ExecStop too, to handle
> interfaces going away.

Oh, thank you!  I didn't know about ReloadPropagatedFrom= and
PropagatesReloadTo=.  That looks quite a bit like an event.  :)

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to debian-ctte-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87fvol89n4....@windlord.stanford.edu

Reply via email to