You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by wt...@apache.org on 2009/12/18 17:55:42 UTC
svn commit: r892312 - /spamassassin/trunk/spamd/redhat-rc-script.sh
Author: wtogami
Date: Fri Dec 18 16:55:41 2009
New Revision: 892312
URL: http://svn.apache.org/viewvc?rev=892312&view=rev
Log:
RH Bug #103401: Use portreserve if available during spamd startup on RHEL or Fedora
Modified:
spamassassin/trunk/spamd/redhat-rc-script.sh
Modified: spamassassin/trunk/spamd/redhat-rc-script.sh
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamd/redhat-rc-script.sh?rev=892312&r1=892311&r2=892312&view=diff
==============================================================================
--- spamassassin/trunk/spamd/redhat-rc-script.sh (original)
+++ spamassassin/trunk/spamd/redhat-rc-script.sh Fri Dec 18 16:55:41 2009
@@ -37,6 +37,8 @@
# See how we were called.
case "$1" in
start)
+ # tell portreserve to release the port
+ [ -x /sbin/portrelease ] && /sbin/portrelease spamd &>/dev/null || :
# Start daemon.
echo -n $"Starting $prog: "
daemon $NICELEVEL spamd $SPAMDOPTIONS -r $SPAMD_PID