Closed littlejeem closed 4 years ago
bc6533d did not produce expected results
altering selection lines in script to
jackett="1"
lidarr="0"
sonarr="0"
radarr="0"
results in
transmisson-daemon not selected for checking
jackett service is running as expected
jackett not running, sending error report and attempting restart of jackett service
./services_checker.sh: line 41: wait: `1m': not a pid or valid job spec
jackett STILL not running, critical failure with jackett.service, in-system investiation needed
lidarr not selected for checking
sonarr not selected for checking
radarr not selected for checking
the output is actually correct
jackett service is running as expected
is the generated output, perhaps it needs to be clearer, something like;
jacket selected for checking - service is running as expected
the desired behavior in the script is that if requested to test and the test fails, then, to restart the service, this outputs as expected.
However if the script is asked to test and the test is successful at the first iteration, no output is produced