X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fsystemd%2Fsystem%2Fprometheus.service.d%2Foverride.conf;fp=filesystem%2Fetc%2Fsystemd%2Fsystem%2Fprometheus.d%2Frestart.conf;h=a928b2a7d92b557db0e1c32a4837752841ca4572;hb=4b3f043829a57215e1251122a8ab0019b717ca8d;hp=aa2ea84fdda594695bf00626bb269aa8116bd93e;hpb=5b09fb8ae01ae1c9aa5c3ccde60f6e6a22f7d6a6;p=distro-setup diff --git a/filesystem/etc/systemd/system/prometheus.d/restart.conf b/filesystem/etc/systemd/system/prometheus.service.d/override.conf similarity index 59% rename from filesystem/etc/systemd/system/prometheus.d/restart.conf rename to filesystem/etc/systemd/system/prometheus.service.d/override.conf index aa2ea84..a928b2a 100644 --- a/filesystem/etc/systemd/system/prometheus.d/restart.conf +++ b/filesystem/etc/systemd/system/prometheus.service.d/override.conf @@ -6,3 +6,7 @@ StartLimitIntervalSec=0 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