Restart `promtail-base` service.
This commit is contained in:
parent
c37124a212
commit
18f41794c3
cookbooks/promtail
|
@ -16,6 +16,8 @@ template '/etc/promtail/base.yaml' do
|
||||||
mode '644'
|
mode '644'
|
||||||
|
|
||||||
variables(HOSTNAME: HOSTNAME, LOKIENDPOINT: node['promtail']['lokiendpoint'])
|
variables(HOSTNAME: HOSTNAME, LOKIENDPOINT: node['promtail']['lokiendpoint'])
|
||||||
|
|
||||||
|
notifies :restart, 'service[promtail-base]'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deploy the `systemd` configuration:
|
# Deploy the `systemd` configuration:
|
||||||
|
|
Loading…
Reference in New Issue