summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.net>2017-10-19 06:55:49 +0200
committerAndreas Unterkircher <unki@netshadow.net>2017-10-19 07:00:19 +0200
commit5152cf66b8e2d69a876718422052c1b7868e7a62 (patch)
treefbd1fdcf4fdc15a561edd04a6f9233c453c44cd5
parent76e00938eccadb711d879c02658981bc34a4b1a6 (diff)
downloadexilog-5152cf66b8e2d69a876718422052c1b7868e7a62.zip
exilog-5152cf66b8e2d69a876718422052c1b7868e7a62.tar.gz
exilog-5152cf66b8e2d69a876718422052c1b7868e7a62.tar.bz2
exilog-agent.service, add systemd service file
-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