Deploy `/etc/systemd/system/alertmanager.service`.
This commit is contained in:
parent
15735e5363
commit
970a9617eb
|
@ -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
|
Loading…
Reference in New Issue