10 lines
486 B
Batchfile
10 lines
486 B
Batchfile
@echo off
|
|
if not "%IDUNN_ACTUATOR%"=="1" (
|
|
echo restart-vili.cmd is an Idunn actuator wrapper. Redeploy by poking Idunn; direct service restart is not an owned path. 1>&2
|
|
exit /b 1
|
|
)
|
|
if /I not "%IDUNN_COMMAND_AUTHORITY%"=="idunn-daemon" (
|
|
echo restart-vili.cmd is an Idunn actuator wrapper. Redeploy by poking Idunn; direct service restart is not an owned path. 1>&2
|
|
exit /b 1
|
|
)
|
|
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%~dp0restart-vili.ps1" %*
|