Subject: Re: pkg/34742: [mail/postgrey] - missing command in postgrey.sh (1.24)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: pkgsrc-bugs
Date: 10/07/2006 14:05:03
The following reply was made to PR pkg/34742; it has been noted by GNATS.
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
To: gnats-bugs@NetBSD.org
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 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