summaryrefslogtreecommitdiffstats
path: root/Prometheus_Alertmanager/alertmanager.service
blob: b812e4c2470f522ba6a8e9da17f4956c8e70511c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
After=network.target
Description=Prometheus Alertmanager
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
User=alertmanager
Group=prometheus
WorkingDirectory=/var/lib/alertmanager
Restart=always
ExecStart=/opt/alertmanager/alertmanager --config.file=/etc/prometheus/alertmanager.yml --web.external-url=https://prometheus.lysergic.dev:4433/alertmanager --web.route-prefix=/ --cluster.listen-address=
ExecReload=/usr/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target