grafana-backuper/entrypoint.sh

9 lines
191 B
Bash
Raw Normal View History

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