aboutsummaryrefslogtreecommitdiffstats
path: root/net/htpdate
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2016-01-17 00:40:19 +0800
committerjgh <jgh@FreeBSD.org>2016-01-17 00:40:19 +0800
commitea6f6cd3b99ce9401faa0265db931283ec383684 (patch)
tree481bf41c56de9a1873328e46958f76fe16b486ec /net/htpdate
parent5ca432b56bacf26654f75e22cf19c9764c5dfb41 (diff)
downloadfreebsd-ports-gnome-ea6f6cd3b99ce9401faa0265db931283ec383684.tar.gz
freebsd-ports-gnome-ea6f6cd3b99ce9401faa0265db931283ec383684.tar.zst
freebsd-ports-gnome-ea6f6cd3b99ce9401faa0265db931283ec383684.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
Diffstat (limited to 'net/htpdate')
-rw-r--r--net/htpdate/files/htpdate.in3
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 ()