Added separate folders for deluge and delugeweb, moved around a bit scripts
This commit is contained in:
14
root/etc/ufw/disable.sh
Normal file
14
root/etc/ufw/disable.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
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
|
||||
ufw disable
|
||||
ufw status
|
@@ -4,7 +4,7 @@ set -e
|
||||
|
||||
TIMESTAMP_FORMAT='%a %b %d %T %Y'
|
||||
log() {
|
||||
echo "$(date +"${TIMESTAMP_FORMAT}") [tunnel-up] $*"
|
||||
echo "$(date +"${TIMESTAMP_FORMAT}") [ufw-enable] $*"
|
||||
}
|
||||
# Source our persisted env variables from container startup
|
||||
. /etc/deluge/environment-variables.sh
|
||||
|
Reference in New Issue
Block a user