svn commit: r415589 - head/net/relayd/files
Lars Engels
lars.engels at 0x20.net
Tue May 24 19:46:04 UTC 2016
On Mon, May 23, 2016 at 09:33:57PM -0400, Jason Unovitch wrote:
> On Sat, May 21, 2016 at 10:13:11AM +0000, Lars Engels wrote:
> > Author: lme
> > Date: Sat May 21 10:13:11 2016
> > New Revision: 415589
> > URL: https://svnweb.freebsd.org/changeset/ports/415589
> >
> > Log:
> > Check relayd's configuration with {start,restart,reload}_precmd in the rc script.
> >
> > PR: 200914
> > Submitted by: Damien Fleuriot <dam at my.gd>
> > Approved by: maintainer timeout (11 months)
> >
> > Modified:
> > head/net/relayd/files/relayd.in
> >
> > Modified: head/net/relayd/files/relayd.in
> > ==============================================================================
> > --- head/net/relayd/files/relayd.in Sat May 21 09:59:56 2016 (r415588)
> > +++ head/net/relayd/files/relayd.in Sat May 21 10:13:11 2016 (r415589)
> > @@ -22,9 +22,18 @@ load_rc_config $name
> >
> > command="%%PREFIX%%/sbin/relayd"
> > relayctl="%%PREFIX%%/sbin/relayctl"
> > +start_precmd="relayd_checkconfig"
> > +reload_precmd="relayd_checkconfig"
> > +restart_precmd="relayd_checkconfig"
> > reload_cmd="relayd_reload_cmd"
> > extra_commands="reload"
> >
> > +relayd_checkconfig()
> > +{
> > + echo "Performing sanity check on relayd configuration:"
> > + eval ${command} ${relayd_flags} -n
> > +}
> > +
> > relayd_reload_cmd () {
> > ${relayctl} reload
> > }
>
> Can you bump PORTREVISION so end users will actually get this update?
Of course. Thanks for the hint!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160524/79e94953/attachment.sig>
More information about the svn-ports-all
mailing list