pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/34742: [mail/postgrey] - missing command in postgrey.sh (1.24)



The following reply was made to PR pkg/34742; it has been noted by GNATS.

From: Jukka Salmi <j+nbsd%2006.salmi.ch@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/34742: [mail/postgrey] - missing command in postgrey.sh (1.24)
Date: Sat, 7 Oct 2006 16:00:55 +0200

 xavier%xavhome.fr.eu.org@localhost wrote:
 > >Fix:
 >      Just addd 
 >              extra_commands="reload"
 >      to the rc_script, rc.subr does the job.
 
 Thanks for reporting this. I have this change in my local repository
 for some time now. Works as expected, of course.
 
 While at it, please also add
 
        stop_postcmd='rm -f $pidfile'
 
 to the postgrey rc.d script. Otherwise postgrey complains when being
 restarted (note the last line in the following output):
 
        $ /etc/rc.d/postgrey restart
        Stopping postgrey.
        Waiting for PIDS: 6249.
        Starting postgrey.
        Pid_file "/var/run/postgrey.pid" already exists.  Overwriting!
 
 Thanks and sorry for abusing this PR... ;-)
 
 
 Regards, Jukka
 
 -- 
 If fifty million people say a foolish thing,
 it is still a foolish thing.
 
        Anatole France
 



Home | Main Index | Thread Index | Old Index