summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--debian/exilog-agent.service13
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 2adf0ad..ee2b87e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+exilog (0.5.1-4~unki.8) stretch; urgency=medium
+
+ * exilog-agent.service, add systemd service file" exilog-agent.service
+
+ -- Andreas Unterkircher <unki@netshadow.net> Thu, 19 Oct 2017 06:56:00 +0200
+
exilog (0.5.1-4~unki.7) stretch; urgency=medium
* add the .js and .css files too
diff --git a/debian/exilog-agent.service b/debian/exilog-agent.service
new file mode 100644
index 0000000..144ec0d
--- /dev/null
+++ b/debian/exilog-agent.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=exilog agent
+After=network.target
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/default/exilog-agent
+ExecStart=/usr/sbin/exilog_agent.pl $DAEMON_OPTS
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
+Alias=exilog.service