summarylogtreecommitdiffstats
path: root/karma.service
diff options
context:
space:
mode:
authorWallun2022-04-14 14:52:11 +0200
committerWallun2022-04-14 14:52:11 +0200
commit61dcda77d521fbff8840f216a4c3be9dfc861b5c (patch)
treecd907386dfb8e808be0510093804cbcda91c8567 /karma.service
downloadaur-61dcda77d521fbff8840f216a4c3be9dfc861b5c.tar.gz
feat: add karma v0.102
Diffstat (limited to 'karma.service')
-rw-r--r--karma.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/karma.service b/karma.service
new file mode 100644
index 000000000000..39a9bef015b4
--- /dev/null
+++ b/karma.service
@@ -0,0 +1,17 @@
+[Unit]
+Description="Alert dashboard for Prometheus Alertmanager"
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=karma
+Group=karma
+Restart=on-failure
+ExecStart=/usr/bin/karma --config.file=/etc/karma/karma.yml
+ExecReload=/bin/kill -HUP $MAINPID
+NoNewPrivileges=true
+ProtectHome=read-only
+ProtectSystem=strict
+
+[Install]
+WantedBy=multi-user.target