You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/05/31 21:55:50 UTC

svn commit: rev 20711 - incubator/spamassassin/trunk/spamd

Author: felicity
Date: Mon May 31 12:55:50 2004
New Revision: 20711

Modified:
   incubator/spamassassin/trunk/spamd/spamd.raw
Log:
bug 3347: change the process name to make it easier to see which spamd is parent and which spamd is child

Modified: incubator/spamassassin/trunk/spamd/spamd.raw
==============================================================================
--- incubator/spamassassin/trunk/spamd/spamd.raw	(original)
+++ incubator/spamassassin/trunk/spamd/spamd.raw	Mon May 31 12:55:50 2004
@@ -817,6 +817,10 @@
     sigprocmask( POSIX::SIG_UNBLOCK(), $sigset )
       or die "Can't unblock SIGINT for fork: $!\n";
 
+    # set process name where supported
+    # this will help make it clear via process listing which is child/parent
+    $0 = 'spamd child';
+
     # handle $clients_per_child connections, then die in "old" age...
     for ( my $i = 0 ; $i < $clients_per_child ; $i++ ) {