mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-05 12:49:43 -06:00
16 lines
351 B
Bash
Executable File
16 lines
351 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if ! command -v foreman &> /dev/null
|
|
then
|
|
echo "Installing foreman..."
|
|
gem install foreman
|
|
fi
|
|
|
|
if [ "$PROMETHEUS_EXPORTER_ENABLED" = "true" ]; then
|
|
echo "Starting Foreman with Procfile.prometheus.dev..."
|
|
foreman start -f Procfile.prometheus.dev
|
|
else
|
|
echo "Starting Foreman with Procfile.dev..."
|
|
foreman start -f Procfile.dev
|
|
fi
|