[systemd-devel] how to start a service when another sevice stops

Khem Raj raj.khem at gmail.com
Fri Nov 30 14:28:38 PST 2012


Hi

I have a scenario where, I have foo.service which runs on boot and later
bar.service runs and it has to stop foo.service which I achieved by
declaring it as Conflicts= in the unit file but I would like to restart
foo.service when bar.service is stopped. I have run out of ideas on how to
achieve that. I am looking for help

-Khem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20121130/7a736226/attachment.html>


More information about the systemd-devel mailing list