Deploy `systemd` config for `alertmanager`.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-16 21:25:49 +09:00
parent 8e6c1efc94
commit b267efe671
1 changed files with 4 additions and 7 deletions

View File

@ -30,18 +30,15 @@ end
end end
end end
# Deploy `supervisord` config: # Deploy `systemd` config for `alertmanager`:
remote_file '/etc/supervisor/conf.d/alertmanager.conf' do remote_file '/etc/systemd/system/alertmanager.service' do
owner 'root' owner 'root'
group 'root' group 'root'
mode '644' mode '644'
notifies :restart, 'service[supervisor]'
end end
# Restart the `supervisor`: service 'alertmanager' do
service 'supervisor' do action [:enable, :start]
action :nothing
end end
# Firewall settings here: # Firewall settings here: