mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add restart delay when minion fails to start
This commit is contained in:
parent
0584d1df95
commit
983d20e3bd
1 changed files with 1 additions and 0 deletions
|
@ -738,6 +738,7 @@ Section -Post
|
|||
nsExec::Exec "$INSTDIR\bin\ssm.exe set salt-minion Start SERVICE_AUTO_START"
|
||||
nsExec::Exec "$INSTDIR\bin\ssm.exe set salt-minion AppStopMethodConsole 24000"
|
||||
nsExec::Exec "$INSTDIR\bin\ssm.exe set salt-minion AppStopMethodWindow 2000"
|
||||
nsExec::Exec "$INSTDIR\bin\ssm.exe set salt-minion AppRestartDelay 60000"
|
||||
|
||||
${IfNot} $ConfigType_State == "Existing Config" # If not using Existing Config
|
||||
Call updateMinionConfig
|
||||
|
|
Loading…
Add table
Reference in a new issue