mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-24 03:00:25 +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
|
# Enable, Configure and Start Services
|
||||||
sysrc prometheus_enable=YES
|
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"
|
sysrc prometheus_config="/usr/local/etc/prometheus/prometheus.yml"
|
||||||
service prometheus start
|
service prometheus start
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user