Date: Sat, 16 Jan 2016 16:40:19 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406238 - head/net/htpdate/files Message-ID: <201601161640.u0GGeJdE027017@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Sat Jan 16 16:40:19 2016 New Revision: 406238 URL: https://svnweb.freebsd.org/changeset/ports/406238 Log: - improve startup script and allow flags to be tuneable No need to bump portrevision, as this is not changing any existing function. PR: 206287 Reported by: Nick@van-laarhoven.org Modified: head/net/htpdate/files/htpdate.in Modified: head/net/htpdate/files/htpdate.in ============================================================================== --- head/net/htpdate/files/htpdate.in Sat Jan 16 16:31:08 2016 (r406237) +++ head/net/htpdate/files/htpdate.in Sat Jan 16 16:40:19 2016 (r406238) @@ -18,6 +18,7 @@ load_rc_config htpdate htpdate_enable="${htpdate_enable:-"NO"}" htpdate_servers="${htpdate_servers:-"www.freebsd.org www.linux.com"}" +htpdate_flags="${htpdate_flags:-"-l -s -D"}" name=htpdate rcvar=htpdate_enable @@ -25,7 +26,7 @@ servers=${htpdate_servers} pidfile=/var/run/htpdate.pid command="/usr/local/bin/htpdate" -command_args="-l -s -D $servers" +command_args="${htpdate_flags} $servers" stop_cmd=htpdate_stop htpdate_stop ()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601161640.u0GGeJdE027017>