Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Sam Heinz
2025-01-17 19:02:30 +10:00
39 changed files with 1257 additions and 83 deletions
+3 -3
View File
@@ -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"