Thanks Brian, Is this Correct?
[Unit] Description=Prometheus Monitoring Wants=network-online.target After=network-online.target [Service] User=prometheus Group=prometheus Type=simple ExecStart=/usr/local/bin/prometheus \ --config.file /etc/prometheus/prometheus.yml \ --storage.tsdb.path /var/lib/prometheus/ \ --web.console.templates=/etc/prometheus/consoles \ --web.console.libraries=/etc/prometheus/console_libraries --storage.tsdb.retention.time=1y ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target ~ ~ On Tue, Sep 8, 2020 at 3:20 PM Brian Candler <b.cand...@pobox.com> wrote: > Yes, you put the flag in the wrong place. Add it to the end of the > ExecStart line, not to the ExecReload line. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Prometheus Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/prometheus-users/rj695eUHMQA/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > prometheus-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/2bc6d8ff-8e41-4266-8139-9238c7798cdco%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/2bc6d8ff-8e41-4266-8139-9238c7798cdco%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Thanks Aravind.V *Mobile*:+91. 8197177674 *Email* : v_6a...@hotmail.com, arwa...@gmail.com -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAK1hgMjRLgtv%2B8wnEpmDXmrANq5nryE4XojpRYQYwPh%3DKL8TWQ%40mail.gmail.com.