mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-09-20 15:57:40 -04:00
🗃️ Committing everything that changed 🗃️
applications/ configs/ lists/ wwwroot/
This commit is contained in:
6
applications/caddy/scripts/commands.sh
Normal file
6
applications/caddy/scripts/commands.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
EXEC_CMD_BIN="caddy" # command to execute
|
||||
EXEC_CMD_ARGS="run --config $ETC_DIR/Caddyfile" # command arguments
|
||||
|
||||
[ -d "$WWW_DIR/health" ] || mkdir -p "$WWW_DIR/health"
|
||||
[ -f "$WWW_DIR/health/index.txt" ] || echo 'ok' >"$WWW_DIR/health/index.txt"
|
||||
[ -f "$WWW_DIR/health/index.json" ] || echo '{ "status": "ok" }' >"$WWW_DIR/health/index.json"
|
Reference in New Issue
Block a user