summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-30 22:07:11 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-30 22:07:11 +0000
commitc9e996fd5b7eb8a44d419c7a693fd8cfa171bc3f (patch)
tree0fc0601e8b6fb28fc862df389e3c2cfaeed4fb67
parent8a1a43a3e1bb2d55c2112eeeea77ea91bb17e1c5 (diff)
downloadrspamd-c9e996fd5b7eb8a44d419c7a693fd8cfa171bc3f.tar.gz
rspamd-c9e996fd5b7eb8a44d419c7a693fd8cfa171bc3f.zip
Fix debian spec.
Submitted by: fatalbanana
-rw-r--r--conf/statistic.conf4
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rspamd.init4
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 <vsevolod@highsecure.ru>
-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