Start Grafana with specified configuration in start_space.sh
Browse files- scripts/start_space.sh +6 -0
scripts/start_space.sh
CHANGED
|
@@ -81,6 +81,12 @@ prometheus \
|
|
| 81 |
--web.route-prefix=/prometheus/ \
|
| 82 |
>> /tmp/prometheus.log 2>&1 &
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
echo "$(date) - Starting Nginx reverse proxy..."
|
| 85 |
if ! command -v nginx &> /dev/null; then
|
| 86 |
echo "$(date) - ERROR: nginx not found in PATH"
|
|
|
|
| 81 |
--web.route-prefix=/prometheus/ \
|
| 82 |
>> /tmp/prometheus.log 2>&1 &
|
| 83 |
|
| 84 |
+
# Start Grafana
|
| 85 |
+
echo "Starting Grafana..."
|
| 86 |
+
grafana-server --homepath=/usr/share/grafana \
|
| 87 |
+
--config=/etc/grafana/grafana.ini \
|
| 88 |
+
web &
|
| 89 |
+
|
| 90 |
echo "$(date) - Starting Nginx reverse proxy..."
|
| 91 |
if ! command -v nginx &> /dev/null; then
|
| 92 |
echo "$(date) - ERROR: nginx not found in PATH"
|