littlejeem / monitor_scripts

A repository of scripts designed to monitor or oversea functions
GNU General Public License v3.0
0 stars 0 forks source link

service_checker.sh selectable variable not working #9

Closed littlejeem closed 4 years ago

littlejeem commented 4 years ago

setting selectable variables...

transmission-daemon="1"
jackett="0"
lidarr="0"
sonarr="0"
radarr="0"

...and having transmission-daemon uncommented throws an error

./services_checker.sh: line 11: transmission-daemon=1: command not found
/home/pi/bin/monitor_scripts
transmisson-daemon is NOT selected for checking
jackett is NOT selected for checking
lidarr is NOT selected for checking
sonarr is NOT selected for checking
radarr is NOT selected for checking

suspect this is due to the '-' in "transmission-daemon"