There was an error while loading. Please reload this page.
1 parent c2b3233 commit d65606fCopy full SHA for d65606f
1 file changed
functions/grott-install.bats
@@ -26,7 +26,15 @@ teardown_file() {
26
27
## Check grott service is running
28
echo -e "# ${COL_CYAN}$(timestamp) [openHABian] Checking if Grott Proxy service is running...${COL_DEF}" >&3
29
+ run systemctl status grott
30
+ echo "Grott service status: $status"
31
+ echo "Grott service status: $output"
32
+
33
run systemctl is-active --quiet grott
34
+ run systemctl is-active grott
35
+ echo "Grott service is-active returned: $status"
36
+ [ "$status" -eq 0 ] || { echo "Grott Proxy service failed to start"; systemctl status grott; exit 1; }
37
38
if [ "$status" -ne 0 ]; then echo "$output" >&3; fi
39
[ "$status" -eq 0 ]
40
echo -e "# ${COL_GREEN}$(timestamp) [openHABian] Grott Proxy service is running.${COL_DEF}" >&3
0 commit comments