diff --git a/scripts/install_gateway_health_watcher.sh b/scripts/install_gateway_health_watcher.sh index 33b73de..a40e412 100755 --- a/scripts/install_gateway_health_watcher.sh +++ b/scripts/install_gateway_health_watcher.sh @@ -69,4 +69,3 @@ EOF "$systemctl_bin" daemon-reload "$systemctl_bin" enable --now ibkr-gateway-healthcheck.timer "$systemctl_bin" enable --now ibkr-gateway-daily-restart.timer -"$systemctl_bin" start ibkr-gateway-healthcheck.service diff --git a/tests/test_gateway_recovery_scripts.sh b/tests/test_gateway_recovery_scripts.sh index ca66b94..c8dcbcd 100644 --- a/tests/test_gateway_recovery_scripts.sh +++ b/tests/test_gateway_recovery_scripts.sh @@ -40,3 +40,4 @@ grep -Fq 'IB_GATEWAY_HEALTHCHECK_INTERVAL_SECONDS:-300' "$health_watcher_script" grep -Fq 'IB_GATEWAY_DAILY_RESTART_ON_CALENDAR:-*-*-* 10:30:00 UTC' "$health_watcher_script" grep -Fq 'enable --now ibkr-gateway-healthcheck.timer' "$health_watcher_script" grep -Fq 'enable --now ibkr-gateway-daily-restart.timer' "$health_watcher_script" +! grep -Fq 'start ibkr-gateway-healthcheck.service' "$health_watcher_script"