[systemd-devel] StartLimitBurst/StartLimitInterval not getting enforced

Bruno Vernay brunovern.a at gmail.com
Wed Mar 6 07:23:27 UTC 2019


Hi,
I would say that they limit restarts on errors (process crashes)
Not an explicit command to stop and restart. There are no errors here.

Bruno

On Wed, Mar 6, 2019 at 8:02 AM prashantkumar dhotre <
prashantkumardhotre at gmail.com> wrote:

> Hi,
> I use v230 systemd.
> I see that even after repeated stop and start  of my service, i dont see
> it going to going to failed state.
> I have not configured any StartLimitBurst/StartLimitInterval , so default
> values should take effect but I dont se ethat happening. service always
> restarts.
> Is this behavior expected ? or this is a bug which got fixed in later
> releases ?
>
> $  while true; do systemctl stop snmpd;  systemctl start snmpd; systemctl
> status snmpd;done
>
> $ cat snmpd.service
> ...
>
> [Service]
> ExecStart= /usr/sbin/snmpd
> Restart=always
> ...
>
>
> Thanks
>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel



-- 
Bruno VERNAY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190306/1147ff81/attachment.html>


More information about the systemd-devel mailing list