mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-11 01:19:56 +01:00
Update prometheus-install.sh
This commit is contained in:
@@ -19,6 +19,9 @@ mkdir -p /var/db/prometheus
|
||||
|
||||
# Enable, Configure and Start Services
|
||||
sysrc prometheus_enable=YES
|
||||
if [ ! -f /usr/local/etc/prometheus/prometheus.yml ]; then
|
||||
cp /usr/local/etc/prometheus.* /usr/local/etc/prometheus/
|
||||
fi
|
||||
sysrc prometheus_config="/usr/local/etc/prometheus/prometheus.yml"
|
||||
service prometheus start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user