Am 30.11.2012 23:28, schrieb Khem Raj:
> 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


ExecStopPost=/bin/systemctl start whatever.service

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to