From owner-svn-ports-all@freebsd.org Fri Feb 12 20:22:17 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 112C5AA7D7C; Fri, 12 Feb 2016 20:22:17 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D27B2186D; Fri, 12 Feb 2016 20:22:16 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1CKMFcf022920; Fri, 12 Feb 2016 20:22:15 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1CKMFjk022918; Fri, 12 Feb 2016 20:22:15 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201602122022.u1CKMFjk022918@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Fri, 12 Feb 2016 20:22:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408753 - in head/www/h2o: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 20:22:17 -0000 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 (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"