env file mismatch
All checks were successful
Build and Push Docker Image / build (push) Successful in 47s
All checks were successful
Build and Push Docker Image / build (push) Successful in 47s
This commit is contained in:
@@ -42,7 +42,7 @@ run_backup() {
|
|||||||
local attempt=1
|
local attempt=1
|
||||||
while ((attempt <= RETRIES)); do
|
while ((attempt <= RETRIES)); do
|
||||||
echo "[INFO] Backup attempt $attempt"
|
echo "[INFO] Backup attempt $attempt"
|
||||||
if /usr/local/bin/backup.sh >>"$LOG_FILE" 2>&1; then
|
if /usr/local/bin/backup.sh "$LOG_FILE"; then
|
||||||
echo "[SUCCESS] Backup completed"
|
echo "[SUCCESS] Backup completed"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import json
|
|||||||
cgitb.enable()
|
cgitb.enable()
|
||||||
print("Content-Type: application/json\n")
|
print("Content-Type: application/json\n")
|
||||||
|
|
||||||
ENV_FILE = "/config/web/backupbot.env"
|
ENV_FILE = "/config/backupbot.env"
|
||||||
|
|
||||||
|
|
||||||
def read_env():
|
def read_env():
|
||||||
|
|||||||
Reference in New Issue
Block a user