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 <
[email protected]> 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
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel



-- 
Bruno VERNAY
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to