grafana-backuper/entrypoint.sh
Tom Neuber 2b2ae98da5
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(Dockerfile): fix workdir definition
2024-12-07 02:21:35 +01:00

8 lines
191 B
Bash
Executable file

#!/bin/bash
# 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