Skip to content

Commit

Permalink
- Set OPEService config to automatic when installing.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyrumple committed Sep 4, 2024
1 parent 4abdfe9 commit 1927b55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/install_service.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ rem Set service recovery options
rem SC qfailure %SERVICE_NAME%
rem SC failure %SERVICE_NAME% reset=0 actions=restart/60000/restart/60000/run/1000
SC failure %SERVICE_NAME% reset=0 actions=restart/60000/restart/60000/reboot/1000 >> nul 2>&1
sc config "%SERVICE_NAME%" start=auto
rem sc failure %SERVICE_NAME% command= ""C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" "C:\AT\MyPowerShellScript.ps1" "possibleArguments""

echo %ESC_GREEN%Starting OPEService...%ESC_RESET%
Expand Down

0 comments on commit 1927b55

Please sign in to comment.