mostly fixes, some new scripts
[distro-setup] / filesystem / etc / systemd / system / prometheus.service.d / override.conf
diff --git a/filesystem/etc/systemd/system/prometheus.service.d/override.conf b/filesystem/etc/systemd/system/prometheus.service.d/override.conf
new file mode 100644 (file)
index 0000000..a928b2a
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+# needed to continually restart
+StartLimitIntervalSec=0
+
+[Service]
+Restart=always
+# time to sleep before restarting a service
+RestartSec=600
+
+# empty signifies to replace the existing value
+ExecStart=
+ExecStart=/usr/local/bin/prometheus $ARGS