Now disable ufw at tunnel down after deluge kill and re-enable it at tunnel up
This commit is contained in:
4
root/etc/ufw/disable.sh
Normal file → Executable file
4
root/etc/ufw/disable.sh
Normal file → Executable file
@@ -6,9 +6,7 @@ TIMESTAMP_FORMAT='%a %b %d %T %Y'
|
||||
log() {
|
||||
echo "$(date +"${TIMESTAMP_FORMAT}") [ufw-disable] $*"
|
||||
}
|
||||
# Source our persisted env variables from container startup
|
||||
. /etc/deluge/environment-variables.sh
|
||||
|
||||
ufw reset
|
||||
log "Disabling ufw"
|
||||
ufw disable
|
||||
ufw status
|
Reference in New Issue
Block a user