summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@debian.org>2015-03-07 09:53:04 +0000
committerAndrew Lewis <nerf@judo.za.org>2015-03-11 21:51:15 +0200
commit7fcaf66165072c1916d4dcddeb3b4d049370c426 (patch)
tree50616aa2ba727c8abc70780bcb9b11e2e271abd4 /debian
parent2c7f4e103f8f8626200ab4000e2c709381d0ba02 (diff)
downloadrspamd-7fcaf66165072c1916d4dcddeb3b4d049370c426.tar.gz
rspamd-7fcaf66165072c1916d4dcddeb3b4d049370c426.zip
Unify systemd support
- Move it from debian/ and centos/ - Ensure Debian package installs .service/.socket - Enable socket-activated service - Clean up redundant CentOS config files
Diffstat (limited to 'debian')
-rw-r--r--[-rwxr-xr-x]debian/rspamd.init0
-rw-r--r--debian/rspamd.install2
-rwxr-xr-xdebian/rules4
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/rspamd.init b/debian/rspamd.init
index 07eba1bd6..07eba1bd6 100755..100644
--- a/debian/rspamd.init
+++ b/debian/rspamd.init
diff --git a/debian/rspamd.install b/debian/rspamd.install
deleted file mode 100644
index f02b35d19..000000000
--- a/debian/rspamd.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/workers.conf etc/rspamd
-debian/logging.conf etc/rspamd
diff --git a/debian/rules b/debian/rules
index fbb555cb3..9eb1014f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,11 +16,13 @@ override_dh_auto_configure:
-DEXAMPLESDIR=/usr/share/doc/rspamd/examples \
-DLIBDIR=/usr/lib \
-DINCLUDEDIR=/usr/include \
+ -DSYSTEMDDIR=/lib/systemd/system \
-DNO_SHARED=ON \
-DDEBIAN_BUILD=1 \
-DINSTALL_EXAMPLES=ON \
-DFORCE_GMIME24=ON \
- -DENABLE_HIREDIS=ON
+ -DENABLE_HIREDIS=ON \
+ -DWANT_SYSTEMD_UNITS=ON
override_dh_auto_clean:
dh_auto_clean