salt-minion-debug.bat 358 B

123456789101112131415
  1. @ echo off
  2. :: Script for starting the Salt-Minion
  3. :: Accepts all parameters that Salt-Minion Accepts
  4. :: Define Variables
  5. Set SaltDir=%~dp0
  6. Set SaltDir=%SaltDir:~0,-1%
  7. Set Python=%SaltDir%\bin\python.exe
  8. Set Script=%SaltDir%\bin\Scripts\salt-minion
  9. :: Stop the Salt Minion service
  10. net stop salt-minion
  11. :: Launch Script
  12. "%Python%" -E -s "%Script%" -l debug