Odin/scripts/restart-stonks.cmd

10 lines
485 B
Batchfile
Raw Normal View History

2026-06-07 00:16:27 +01:00
@echo off
if not "%IDUNN_ACTUATOR%"=="1" (
echo restart-stonks.cmd is an Idunn actuator body. 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-stonks.cmd is an Idunn actuator body. Redeploy by poking Idunn; direct service restart is not an owned path. 1>&2
exit /b 1
)
2026-06-07 00:16:27 +01:00
powershell.exe -NoProfile -ExecutionPolicy Bypass -File E:\Projects\Odin\scripts\restart-stonks.ps1