On Tue, 11.07.17 14:46, Mikhail Kasimov ([email protected]) wrote:

> Or, please, give a hint how service, which works in 'start -> do
> something->exit' scheme (so this is oneshot type, as I understand:
> https://www.freedesktop.org/software/systemd/man/systemd.service.html :
> "Behavior of |oneshot| is similar to |simple|; however, it is expected
> that the *process has to exit* before systemd starts follow-up units."),
> be forced to be restarted on its failure.

There's an RFE issue about adding Restart= for Type=oneshot too:

https://github.com/systemd/systemd/issues/2582

Would be happy to take patches that make that work...

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to