grafana-backuper/entrypoint.sh
Tom Neuber 6302de004f
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/build unknown status
feat(cmd): add sequence flag to execute multiple functions
2024-12-07 01:04:12 +01:00

8 lines
191 B
Bash

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