[packages/spamassassin] - rel 3; use spamd.pid name (as upstream)
arekm
arekm at pld-linux.org
Thu Jul 21 19:22:09 CEST 2016
commit 462585b4b595fd7b7fdca85db2843c69c086d84e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Jul 21 19:22:02 2016 +0200
- rel 3; use spamd.pid name (as upstream)
spamassassin-spamd.init | 8 ++++----
spamassassin.spec | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/spamassassin.spec b/spamassassin.spec
index bd52fed..c1d6d53 100644
--- a/spamassassin.spec
+++ b/spamassassin.spec
@@ -13,7 +13,7 @@ Summary: A spam filter for email which can be invoked from mail delivery agents
Summary(pl.UTF-8): Filtr antyspamowy, przeznaczony dla programów dostarczających pocztę (MDA)
Name: spamassassin
Version: 3.4.1
-Release: 2
+Release: 3
License: Apache v2.0
Group: Applications/Mail
Source0: http://ftp.ps.pl/pub/apache//spamassassin/source/%{pdir}-%{pnam}-%{version}.tar.bz2
diff --git a/spamassassin-spamd.init b/spamassassin-spamd.init
index 615819c..07c17c0 100644
--- a/spamassassin-spamd.init
+++ b/spamassassin-spamd.init
@@ -8,7 +8,7 @@
# email messages for SPAM. It is normally called by spamc \
# from a MDA.
# processname: spamd
-# pidfile: /var/run/spamassassin.pid
+# pidfile: /var/run/spamd.pid
# Source function library.
. /etc/rc.d/init.d/functions
@@ -42,7 +42,7 @@ start() {
fi
msg_starting "SpamAssassin"
- daemon /usr/bin/spamd -r /var/run/spamassassin.pid $SPAMD_OPTS
+ daemon /usr/bin/spamd -r /var/run/spamd.pid $SPAMD_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/spamd
}
@@ -55,7 +55,7 @@ stop() {
fi
msg_stopping "SpamAssassin"
- killproc --pidfile spamassassin.pid spamd
+ killproc --pidfile spamd.pid spamd
RETVAL=$?
rm -f /var/lock/subsys/spamd
}
@@ -90,7 +90,7 @@ case "$1" in
condrestart 7
;;
status)
- status spamd
+ status --pidfile spamd.pid spamd
;;
*)
msg_usage "$0 {start|stop|restart|try-restart|force-reload|status}"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/spamassassin.git/commitdiff/462585b4b595fd7b7fdca85db2843c69c086d84e
More information about the pld-cvs-commit
mailing list