summaryrefslogtreecommitdiffstats
path: root/aklog.service
diff options
context:
space:
mode:
Diffstat (limited to 'aklog.service')
-rw-r--r--aklog.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/aklog.service b/aklog.service
new file mode 100644
index 0000000..c9ba5b2
--- /dev/null
+++ b/aklog.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Service to manage aklog-server, which serves antikoerper-logs to grafana
+
+[Service]
+Type=simple
+ExecStart=/opt/aklog-server/bin/aklog-server -c /opt/aklog-server/etc/aklog.toml
+ExecStop=/usr/bin/killall aklog-server
+
+[Install]
+WantedBy=multi-user.target
+