grafana-backuper/entrypoint.sh

9 lines
189 B
Bash
Raw Permalink Normal View History

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