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