From fe3fdea7717eafe5c2ce9c9d4389a76b5cff32d4 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 16 May 2024 07:58:05 +0200 Subject: [PATCH] updated salt_minion state --- states/salt_minion/templates/salt-minion.service.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/states/salt_minion/templates/salt-minion.service.j2 b/states/salt_minion/templates/salt-minion.service.j2 index 3c3911b..209aa0e 100644 --- a/states/salt_minion/templates/salt-minion.service.j2 +++ b/states/salt_minion/templates/salt-minion.service.j2 @@ -2,14 +2,15 @@ ## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} [Unit] Description=The Salt Minion daemon -StartLimitIntervalSec=0 +StartLimitIntervalSec=500 +StartLimitBurst=5 After=network.target [Service] Type=notify KillMode=control-group Restart=on-failure -RestartSec=1 +RestartSec=10s StartLimitInterval=0 NotifyAccess=all LimitNOFILE=8192