Dear all,

Help me please with my problem.
For example, I have systems service config with such parameters:

Restart=always
RestartSec=1
StartLimitInterval=300
StartLimitBurst=3

systemd version = 215

After the system boot up I can restart the service 4 times with systemctl
restart service. But all other services can be restarted 3 times.

As I understand and after I looked to the systemd sources - StartLimitBurst
is the limit for start/restart operations and after boot up there are
possibility for restarting the service only 3 times during
StartLimitInterval. When new StartLimitInterval is started I can restart
the service 4 times.

So why counter for start/restart operation for my service is reseted after
the service is started and I can restart my service 4 times?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to