Restart `promtail-base` service.

This commit is contained in:
Kazuhiro MUSASHI 2020-09-14 00:48:20 +09:00
parent c37124a212
commit 18f41794c3
1 changed files with 2 additions and 0 deletions
cookbooks/promtail

View File

@ -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: