fixes, prometheus, lots of stuff
[distro-setup] / filesystem / etc / systemd / system / prometheus.d / restart.conf
diff --git a/filesystem/etc/systemd/system/prometheus.d/restart.conf b/filesystem/etc/systemd/system/prometheus.d/restart.conf
new file mode 100644 (file)
index 0000000..aa2ea84
--- /dev/null
@@ -0,0 +1,8 @@
+[Unit]
+# needed to continually restart
+StartLimitIntervalSec=0
+
+[Service]
+Restart=always
+# time to sleep before restarting a service
+RestartSec=600