Commit 213ea9a8 authored by k.elaammari's avatar k.elaammari
Browse files

add option for config reload via http

parent b676ea85
......@@ -7,7 +7,7 @@ After=network-online.target
User=prometheus
Group=prometheus
Restart=on-failure
ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/data --storage.tsdb.retention.time=1d --storage.tsdb.max-block-duration=2h
ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/data --storage.tsdb.retention.time=1d --storage.tsdb.max-block-duration=2h --web.enable-lifecycle
ExecReload=/bin/kill -HUP $MAINPID
NoNewPrivileges=true
ProtectHome=true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment