X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fsystemd%2Fsystem%2Fprometheus.d%2Frestart.conf;fp=filesystem%2Fetc%2Fsystemd%2Fsystem%2Fprometheus.d%2Frestart.conf;h=aa2ea84fdda594695bf00626bb269aa8116bd93e;hb=40dd151ec6ba75633c74568da59e35a45351f194;hp=0000000000000000000000000000000000000000;hpb=7e673f2615101982a17ffa0e23cb10b5b3803f07;p=distro-setup diff --git a/filesystem/etc/systemd/system/prometheus.d/restart.conf b/filesystem/etc/systemd/system/prometheus.d/restart.conf new file mode 100644 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