diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2016-01-16 16:40:19 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2016-01-16 16:40:19 +0000 |
commit | 186b50ce585ba3f2e201bbb5e4630d418f9eb9b6 (patch) | |
tree | 481bf41c56de9a1873328e46958f76fe16b486ec /net/htpdate | |
parent | 1c483fd6ddd8f0fb69b6d28cb8dfbd898ab8bb3e (diff) | |
download | ports-186b50ce585ba3f2e201bbb5e4630d418f9eb9b6.tar.gz ports-186b50ce585ba3f2e201bbb5e4630d418f9eb9b6.zip |
- 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
Notes
Notes:
svn path=/head/; revision=406238
Diffstat (limited to 'net/htpdate')
-rw-r--r-- | net/htpdate/files/htpdate.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/htpdate/files/htpdate.in b/net/htpdate/files/htpdate.in index 0a2e54476722..73f46d30f437 100644 --- a/net/htpdate/files/htpdate.in +++ b/net/htpdate/files/htpdate.in @@ -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 () |