[systemd-devel] Timeout for 'Activating (start)' status

Mikhail Kasimov mikhail.kasimov at gmail.com
Tue Jul 11 15:07:47 UTC 2017


11.07.2017 17:13, Lennart Poettering пишет:
> 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...

Thanks for info!



More information about the systemd-devel mailing list