grafana-backuper/entrypoint.sh

9 lines
185 B
Bash
Raw Normal View History

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