From 4bd9e36ff45b2001b048a23a218e26605deac7d0 Mon Sep 17 00:00:00 2001 From: Georg Date: Fri, 6 Aug 2021 17:42:45 +0200 Subject: Mass Commit 06/08/2021 Signed-off-by: Georg --- Prometheus_Alertmanager/alertmanager.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Prometheus_Alertmanager/alertmanager.service (limited to 'Prometheus_Alertmanager/alertmanager.service') diff --git a/Prometheus_Alertmanager/alertmanager.service b/Prometheus_Alertmanager/alertmanager.service new file mode 100644 index 0000000..b812e4c --- /dev/null +++ b/Prometheus_Alertmanager/alertmanager.service @@ -0,0 +1,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 -- cgit v1.2.3