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/prometheus.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Prometheus/prometheus.service (limited to 'Prometheus/prometheus.service') diff --git a/Prometheus/prometheus.service b/Prometheus/prometheus.service new file mode 100644 index 0000000..38b063f --- /dev/null +++ b/Prometheus/prometheus.service @@ -0,0 +1,13 @@ +[Unit] +Description=Prometheus +After=network.target + +[Service] +User=prometheus +Group=prometheus +Type=simple +ExecStart=/opt/prometheus/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus --web.console.templates=/opt/prometheus/consoles --web.console.libraries=/opt/prometheus/console_libraries --web.external-url=https://prometheus.lysergic.dev:4433 +ExecReload=/usr/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3