From c9e996fd5b7eb8a44d419c7a693fd8cfa171bc3f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 30 Nov 2013 22:07:11 +0000 Subject: [PATCH] Fix debian spec. Submitted by: fatalbanana --- conf/statistic.conf | 4 ++-- debian/control | 2 +- debian/rspamd.init | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/statistic.conf b/conf/statistic.conf index bd738dd84..ab6485c48 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -8,12 +8,12 @@ classifier { max_tokens = 1000; statfile { symbol = "BAYES_HAM"; - size = 50M; + size = 50Mb; path = "$DBDIR/bayes.ham"; } statfile { symbol = "BAYES_SPAM"; - size = 50M; + size = 50Mb; path = "$DBDIR/bayes.spam"; } } diff --git a/debian/control b/debian/control index 5c50247dc..cdfaca0e0 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: rspamd Section: mail Priority: extra Maintainer: Vsevolod Stakhov -Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libgmime-2.6-dev, liblua5.1-0-dev, libpcre3-dev, cdbs, libssl-dev (>= 1.0), libjudy-dev +Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libgmime-2.6-dev, liblua5.2-dev, libpcre3-dev, cdbs, libssl-dev (>= 1.0), libjudy-dev Standards-Version: 3.9.3 Homepage: https://bitbucket.org/vstakhov/rspamd/ Vcs-Hg: https://bitbucket.org/vstakhov/rspamd/ diff --git a/debian/rspamd.init b/debian/rspamd.init index c3fab74b4..0a7cbee8c 100755 --- a/debian/rspamd.init +++ b/debian/rspamd.init @@ -16,9 +16,9 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="Rspamd" NAME=rspamd DAEMON=/usr/bin/$NAME -DAEMON_ARGS="-c /etc/rspamd.conf" +DAEMON_ARGS="-c /etc/rspamd/rspamd.conf" DESC="rapid spam filtering system" -PIDFILE=/var/lib/rspamd/$NAME.pid +PIDFILE=/var/run/rspamd/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME RSPAMD_USERNAME=rspamd RSPAMD_GROUPNAME=rspamd -- 2.39.5