Deploy `/etc/systemd/system/alertmanager.service`.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-16 21:27:29 +09:00
parent 15735e5363
commit 970a9617eb
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[Unit]
Description=Alertmanager
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/alertmanager --config.file /etc/prometheus.d/alertmanager.yml
[Install]
WantedBy=multi-user.target