This commit is contained in:
@@ -6,7 +6,7 @@ if [[ -f /config/backupbot.env ]]; then
|
|||||||
else
|
else
|
||||||
echo "[INFO] copying env vars from defaults..."
|
echo "[INFO] copying env vars from defaults..."
|
||||||
cp -r /defaults/backupbot.env /config/
|
cp -r /defaults/backupbot.env /config/
|
||||||
export $(grep -V '^#' /config/backupbot.env)
|
export $(grep -V '^#' /config/backupbot.env | xargs)
|
||||||
fi
|
fi
|
||||||
# Initialize default web interface if missing
|
# Initialize default web interface if missing
|
||||||
if [ ! -d /config/web ]; then
|
if [ ! -d /config/web ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user