summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2010-10-05 17:31:58 +0200
committerMichael Biebl <biebl@debian.org>2010-10-05 17:32:50 +0200
commita9a978300e316bc414a5c4fd4aed4b1ed97b5b01 (patch)
tree75b7d27782700f428282b41fd92c85118bc85ea6 /debian
parent69494f7826ac58ff31241d144ee7caae801880c1 (diff)
downloadrsyslog-a9a978300e316bc414a5c4fd4aed4b1ed97b5b01.tar.gz
Install systemd unit files
which allow to run rsyslog in socket activation mode when systemd is used.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/rsyslog.install2
-rwxr-xr-xdebian/rules3
3 files changed, 6 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 10b04de..4905045 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ rsyslog (5.7.1-1) UNRELEASED; urgency=low
- Install omruleset.so plugin: http://www.rsyslog.com/doc/omruleset.html
* debian/rsyslog.default
- Start rsyslogd with native -c5 mode.
+ * Install systemd unit files which allow to run rsyslog in socket activation
+ mode when systemd is used.
-- Michael Biebl <biebl@debian.org> Thu, 30 Sep 2010 14:07:38 +0200
diff --git a/debian/rsyslog.install b/debian/rsyslog.install
index 35a6103..4210899 100644
--- a/debian/rsyslog.install
+++ b/debian/rsyslog.install
@@ -17,3 +17,5 @@ debian/tmp/usr/lib/rsyslog/lmtcpsrv.so
debian/tmp/usr/lib/rsyslog/lmzlibw.so
debian/tmp/usr/lib/rsyslog/ommail.so
debian/tmp/usr/lib/rsyslog/omruleset.so
+debian/tmp/lib/systemd/system/rsyslog.service
+debian/tmp/lib/systemd/system/rsyslog.socket
diff --git a/debian/rules b/debian/rules
index 5d3573f..5316833 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,8 @@ override_dh_auto_configure:
--enable-gssapi-krb5 \
--enable-gnutls \
--enable-relp \
- --disable-testbench
+ --disable-testbench \
+ --with-systemdsystemunitdir=/lib/systemd/system
override_dh_auto_install:
dh_auto_install