From 4ed76b8dbbf164751a38356ccf757cbb3d428b16 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 31 Mar 2023 17:37:50 +0200 Subject: [PATCH] updated salt_minion state --- states/salt_minion/templates/salt-minion.service.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/states/salt_minion/templates/salt-minion.service.j2 b/states/salt_minion/templates/salt-minion.service.j2 index cd154fa..1980263 100644 --- a/states/salt_minion/templates/salt-minion.service.j2 +++ b/states/salt_minion/templates/salt-minion.service.j2 @@ -2,6 +2,7 @@ ## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} [Unit] Description=The Salt Minion daemon +StartLimitIntervalSec=0 After=network.target [Service] @@ -11,6 +12,8 @@ NotifyAccess=all LimitNOFILE=8192 ExecStart=salt-minion TimeoutStopSec=5s +Restart=always +RestartSec=30 [Install] WantedBy=multi-user.target