diff --git a/manifests/run_service.pp b/manifests/run_service.pp index ece7efba2..451e300a4 100644 --- a/manifests/run_service.pp +++ b/manifests/run_service.pp @@ -12,9 +12,11 @@ if $prometheus::manage_service == true { service { 'prometheus': - ensure => $prometheus::service_ensure, - name => $init_selector, - enable => $prometheus::service_enable, + ensure => $prometheus::service_ensure, + name => $init_selector, + enable => $prometheus::service_enable, + hasrestart => true, + restart => '/usr/bin/pkill -HUP prometheus', } } }