]> source.dussan.org Git - rspamd.git/commitdiff
Fix debian spec.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 30 Nov 2013 22:07:11 +0000 (22:07 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 30 Nov 2013 22:07:11 +0000 (22:07 +0000)
Submitted by: fatalbanana

conf/statistic.conf
debian/control
debian/rspamd.init

index bd738dd8403a14bd4229714a8da42d9f7bff86e5..ab6485c485125d9574d1d0b068cd83225053b184 100644 (file)
@@ -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";
     }
 }
index 5c50247dc3e5c054905f6740be6f94983b6b111e..cdfaca0e0114353933f02803f60a4f6429d1d309 100644 (file)
@@ -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/
index c3fab74b4bf500d767ad0fbf37fff1d74974c2c5..0a7cbee8c0032fdac5ef58984515f0ef16227a1a 100755 (executable)
@@ -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