winsw: update bats
This commit is contained in:
parent
5c7e46b9ab
commit
b8b23d266d
@ -3,16 +3,14 @@
|
||||
PUSHD %~dp0..
|
||||
call runasadmin.bat "%~dpnx0"
|
||||
|
||||
if %errorlevel% == 0 (
|
||||
for /R "..\common\services\winswConfigs\" %%f in (*.xml) do (
|
||||
call ..\thirdparty\winsw.exe restart %%f
|
||||
)
|
||||
)
|
||||
|
||||
POPD
|
||||
|
||||
if %errorlevel% == 0 (
|
||||
pwsh %~dp0/command.ps1 "restart"
|
||||
|
||||
for /R "%~dp0\..\..\common\services\winswConfigs\" %%f in (*.xml) do (
|
||||
call %~dp0\..\..\thirdparty\winsw.exe restart %%f
|
||||
)
|
||||
)
|
||||
|
||||
echo.
|
||||
|
@ -3,16 +3,15 @@
|
||||
PUSHD %~dp0..
|
||||
call runasadmin.bat "%~dpnx0"
|
||||
|
||||
if %errorlevel% == 0 (
|
||||
for /R "..\common\services\winswConfigs\" %%f in (*.xml) do (
|
||||
call ..\thirdparty\winsw.exe start %%f
|
||||
)
|
||||
)
|
||||
|
||||
POPD
|
||||
|
||||
if %errorlevel% == 0 (
|
||||
pwsh %~dp0/command.ps1 "start"
|
||||
|
||||
for /R "%~dp0\..\..\common\services\winswConfigs\" %%f in (*.xml) do (
|
||||
call %~dp0\..\..\thirdparty\winsw.exe start %%f
|
||||
)
|
||||
)
|
||||
|
||||
echo.
|
||||
|
@ -3,16 +3,14 @@
|
||||
PUSHD %~dp0..
|
||||
call runasadmin.bat "%~dpnx0"
|
||||
|
||||
if %errorlevel% == 0 (
|
||||
for /R "..\common\services\winswConfigs\" %%f in (*.xml) do (
|
||||
call ..\thirdparty\winsw.exe stop %%f
|
||||
)
|
||||
)
|
||||
|
||||
POPD
|
||||
|
||||
if %errorlevel% == 0 (
|
||||
pwsh %~dp0/command.ps1 "stop"
|
||||
|
||||
for /R "%~dp0\..\..\common\services\winswConfigs\" %%f in (*.xml) do (
|
||||
call %~dp0\..\..\thirdparty\winsw.exe stop %%f
|
||||
)
|
||||
)
|
||||
|
||||
echo.
|
||||
|
Loading…
Reference in New Issue
Block a user