diff options
author | Mikhail Gusarov <dottedmag@debian.org> | 2015-03-07 09:53:04 +0000 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2015-03-11 21:51:15 +0200 |
commit | 7fcaf66165072c1916d4dcddeb3b4d049370c426 (patch) | |
tree | 50616aa2ba727c8abc70780bcb9b11e2e271abd4 /debian/rules | |
parent | 2c7f4e103f8f8626200ab4000e2c709381d0ba02 (diff) | |
download | rspamd-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/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
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 |