[systemd-devel] Is there a general inittab entry replacement available?

Lennart Poettering lennart at poettering.net
Wed May 23 04:56:53 PDT 2012


On Tue, 22.05.12 22:25, Joachim Banzhaf (joachim.banzhaf at googlemail.com) wrote:

> Am 22.05.2012 22:13, schrieb Tomasz Torcz:
> > On Tue, May 22, 2012 at 10:06:04PM +0200, Joachim Banzhaf wrote:
> >> Thanks for your answers, all three of them!
> >>
> >> Am 22.05.2012 21:42, schrieb Tomasz Torcz:
> >>> Restart=always
> >> AFAIK SysV init restarts the service on failures immediatelly for some
> >> times, then uses a delay of some minutes before it retries, which seems
> >> sensible. If I understand systemd.service man correctly this is not
> >> possible?
> >
> > You are looking for StartLimitInterval=, StartLimitBurst= in that manpage.
> >
> 
> Not in my version. Maybe openSUSE is a bit behind (v37) - you guys move
> fast!

In older versions of systemd we also applied a start rate limit, but the
parameters where not configurable. In fact this worked pretty much
exactly like in sysvinit, where the start rate limit was hardcoded too,
and could not be turned off. In newer versions of systemd you can now
turn the rate off or change the parameters, but that's all, the basic
logic always was in place.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list