diff options
author | Mario Krehl <mario-krehl@gmx.de> | 2017-12-10 20:24:13 +0100 |
---|---|---|
committer | Mario Krehl <mario-krehl@gmx.de> | 2017-12-10 20:24:13 +0100 |
commit | 1e868c62642249ff50cb54c2a581fac28a038643 (patch) | |
tree | a3a10200feb429c4245ceb7eab104a2c19f09a28 | |
parent | 5ad2aab4745d797a6ac4016a860b3b4df13439c8 (diff) |
Add example systemd unit file
-rw-r--r-- | aklog.service | 11 |
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 + |