diff --git a/install/prometheus-install.sh b/install/prometheus-install.sh index 294e9363..cbabb93a 100644 --- a/install/prometheus-install.sh +++ b/install/prometheus-install.sh @@ -33,7 +33,7 @@ msg_ok "Installed Prometheus" msg_info "Creating Service" cat </etc/systemd/system/prometheus.service -echo "[Unit] +[Unit] Description=Prometheus Wants=network-online.target After=network-online.target @@ -49,7 +49,7 @@ ExecStart=/usr/local/bin/prometheus \ ExecReload=/bin/kill -HUP \$MAINPID [Install] -WantedBy=multi-user.target" +WantedBy=multi-user.target EOF systemctl enable -q --now prometheus msg_ok "Created Service"