Add prevalidate environment on start

This commit is contained in:
Pau RE
2024-09-04 10:19:17 +02:00
parent 2cbc34e8e6
commit 241673885d
5 changed files with 80 additions and 62 deletions
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -Eeo pipefail
# Prevalidate configuration (don't source)
/env.sh
exec /usr/local/bin/go-cron -s "$SCHEDULE" -p "$HEALTHCHECK_PORT" -- /backup.sh