[systemd-devel] Timeout for 'Activating (start)' status
Lennart Poettering
lennart at poettering.net
Tue Jul 11 14:13:31 UTC 2017
On Tue, 11.07.17 14:46, Mikhail Kasimov (mikhail.kasimov at gmail.com) 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
More information about the systemd-devel
mailing list