Tollef Fog Heen <[email protected]> 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 [email protected] 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 ([email protected])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to