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

services_checker.sh - undesirable behaviour restarting transmission-daemon #15

Open littlejeem opened 4 years ago

littlejeem commented 4 years ago

Currently this script interferes with IPChecker.sh purpose.

Eg: the VPN is down, IPChecker.sh stops transmission-daemon to prevent data leakage.

But then services_checker.sh restarts transmission-daemon defeating the action.

Perhaps add a check to the script that references $notify_lock from IPChecker.sh and if present not attempt a restart of transmission?