Added separate folders for deluge and delugeweb, moved around a bit scripts

This commit is contained in:
Eldwan Brianne
2021-03-15 16:39:28 +01:00
parent e0f2cae85a
commit f4dc3f2b17
6 changed files with 33 additions and 16 deletions

14
root/etc/ufw/disable.sh Normal file
View 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

View File

@@ -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