diff --git a/templates/prometheus.service.j2 b/templates/prometheus.service.j2 index 83aee17..a1ce3b9 100644 --- a/templates/prometheus.service.j2 +++ b/templates/prometheus.service.j2 @@ -14,6 +14,7 @@ Restart=on-failure User={{ prometheus_user }} Group={{ prometheus_group }} +ExecReload=/bin/kill -HUP $MAINPID {% if prometheus_opts is defined %} ExecStart={{ prometheus_daemon_dir }}/prometheus {{ prometheus_opts }} --config.file={{ prometheus_config_path }}/prometheus.yml --storage.tsdb.path={{ prometheus_db_path }} --web.console.templates={{ prometheus_daemon_dir }}/consoles --web.console.libraries={{ prometheus_daemon_dir }}/console_libraries @@ -23,4 +24,4 @@ ExecStart={{ prometheus_daemon_dir }}/prometheus --conf [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target