Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2016 20:22:15 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408753 - in head/www/h2o: . files
Message-ID:  <201602122022.u1CKMFjk022918@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Fri Feb 12 20:22:15 2016
New Revision: 408753
URL: https://svnweb.freebsd.org/changeset/ports/408753

Log:
  Add SIGHUP support.
  
  Support soft reloading of config via `sudo service h2o reload`.
  
  PR:		207093
  Submitted by:	Dave Cottlehuber <dch@skunkwerks.at> (maintainer)

Modified:
  head/www/h2o/Makefile
  head/www/h2o/files/h2o.in

Modified: head/www/h2o/Makefile
==============================================================================
--- head/www/h2o/Makefile	Fri Feb 12 20:21:35 2016	(r408752)
+++ head/www/h2o/Makefile	Fri Feb 12 20:22:15 2016	(r408753)
@@ -4,6 +4,7 @@
 PORTNAME=	h2o
 PORTVERSION=	1.7.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	www
 
 MAINTAINER=	dch@skunkwerks.at

Modified: head/www/h2o/files/h2o.in
==============================================================================
--- head/www/h2o/files/h2o.in	Fri Feb 12 20:21:35 2016	(r408752)
+++ head/www/h2o/files/h2o.in	Fri Feb 12 20:22:15 2016	(r408753)
@@ -30,5 +30,8 @@ command="%%PREFIX%%/bin/${name}"
 command_args="-m daemon -c ${h2o_config}"
 procname="%%LOCALBASE%%/bin/perl"
 
+# support SIGHUP to reload configuration file
+extra_commands="reload"
+
 load_rc_config $name
 run_rc_command "$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602122022.u1CKMFjk022918>