forked from forkanization/Proxmox-arm64
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
@@ -34,8 +34,8 @@ echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||
msg_ok "Installed Prometheus"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/prometheus.service"
|
||||
echo "[Unit]
|
||||
cat <<EOF >/etc/systemd/system/prometheus.service
|
||||
[Unit]
|
||||
Description=Prometheus
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
@@ -50,7 +50,7 @@ ExecStart=/usr/local/bin/prometheus \
|
||||
--web.listen-address=0.0.0.0:9090
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target"
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now prometheus
|
||||
msg_ok "Created Service"
|
||||
|
||||
Reference in New Issue
Block a user