summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rspamd.init2
-rwxr-xr-xdebian/rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/rspamd.init b/debian/rspamd.init
index 0a7cbee8c..91b5c6e68 100755
--- a/debian/rspamd.init
+++ b/debian/rspamd.init
@@ -18,7 +18,7 @@ NAME=rspamd
DAEMON=/usr/bin/$NAME
DAEMON_ARGS="-c /etc/rspamd/rspamd.conf"
DESC="rapid spam filtering system"
-PIDFILE=/var/run/rspamd/$NAME.pid
+PIDFILE=/var/lib/rspamd/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
RSPAMD_USERNAME=rspamd
RSPAMD_GROUPNAME=rspamd
diff --git a/debian/rules b/debian/rules
index 24f4f2e4e..2a50cc64b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ include /usr/share/cdbs/1/class/cmake.mk
DEB_CMAKE_NORMAL_ARGS+= -DCONFDIR=/etc/rspamd \
-DMANDIR=/usr/share/man \
- -DRUNDIR=/var/run/rspamd \
+ -DRUNDIR=/var/lib/rspamd \
-DDBDIR=/var/lib/rspamd \
-DLOGDIR=/var/log/rspamd \
-DPLUGINSDIR=/usr/share/rspamd \