grafana-backuper/entrypoint.sh
Tom Neuber 00d4e46319
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
fix(entrypoint): correct script definition
2024-12-07 02:37:27 +01:00

8 lines
189 B
Bash
Executable file

#!/bin/sh
# Check if the environment variable GRAFANA_MODE is set
if [ -z "$GB_SEQUENCE" ]; then
exec /app/grafana-backuper backup --json
else
exec /app/grafana-backuper --json
fi