aboutsummaryrefslogtreecommitdiffstats
path: root/centos/sources
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-05-26 21:06:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-05-26 21:06:42 +0100
commit0e7dbaf43073f7e50186e05943604a6c6190ac3e (patch)
tree6f9dc572bbb7ed617a2374a35573d15be4825ceb /centos/sources
parent685d079dae7093facc731a455c8b9b66e491561e (diff)
downloadrspamd-0e7dbaf43073f7e50186e05943604a6c6190ac3e.tar.gz
rspamd-0e7dbaf43073f7e50186e05943604a6c6190ac3e.zip
Fix spec and centos sources.
--HG-- rename : centos/sources/rspam.logrotate => centos/sources/rspamd.logrotate
Diffstat (limited to 'centos/sources')
-rw-r--r--centos/sources/rspamd.init4
-rw-r--r--centos/sources/rspamd.logrotate (renamed from centos/sources/rspam.logrotate)0
2 files changed, 2 insertions, 2 deletions
diff --git a/centos/sources/rspamd.init b/centos/sources/rspamd.init
index 56cea9651..161bbc396 100644
--- a/centos/sources/rspamd.init
+++ b/centos/sources/rspamd.init
@@ -21,7 +21,7 @@
rspamd="/usr/bin/rspamd"
prog=$(basename $rspamd)
-RSPAMD_CONF_FILE="/etc/rspamd/rspamd"
+RSPAMD_CONF_FILE="/etc/rspamd.xml"
RSPAMD_USER="rspamd"
RSPAMD_GROUP="rspamd"
@@ -42,7 +42,7 @@ start() {
stop() {
echo -n $"Stopping $prog: "
- killproc $prog -QUIT
+ killproc $prog -TERM
retval=$?
if [ $retval -eq 0 ]; then
if [ "$CONSOLETYPE" != "serial" ]; then
diff --git a/centos/sources/rspam.logrotate b/centos/sources/rspamd.logrotate
index 0b93591d4..0b93591d4 100644
--- a/centos/sources/rspam.logrotate
+++ b/centos/sources/rspamd.logrotate