iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
filesystem/etc/systemd/system/prometheus.d/restart.conf
@@ -0,0
+1,8
@@
+[Unit]
+# needed to continually restart
+StartLimitIntervalSec=0
+
+[Service]
+Restart=always
+# time to sleep before restarting a service
+RestartSec=600