Skip to content

Commit

Permalink
vpn port change and touch portclosed moved
Browse files Browse the repository at this point in the history
  • Loading branch information
binhex committed Aug 11, 2020
1 parent 7219ba8 commit 4a5572d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions run/nobody/watchdog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ while true; do
qbittorrent_running="false"
privoxy_running="false"
ip_change="false"
vpn_port_change="false"
qbittorrent_port_change="false"

if [[ "${VPN_ENABLED}" == "yes" ]]; then
Expand Down Expand Up @@ -145,13 +144,6 @@ while true; do

fi

# if port is detected as closed then create empty file to trigger restart of openvpn process (restart code in /root/openvpn.sh)
if [[ "${vpn_port_change}" == "true" ]];then

touch "/tmp/portclosed"

fi

if [[ "${ENABLE_PRIVOXY}" == "yes" ]]; then

if [[ "${privoxy_running}" == "false" ]]; then
Expand Down

0 comments on commit 4a5572d

Please sign in to comment.