sysutils/consul: update to 1.0.1
While here, remove config test because it always fails on hosts with more than 1 IP.
This commit is contained in:
parent
a06e7cd7fe
commit
3d7305f51b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455627
3 changed files with 4 additions and 14 deletions
|
@ -1,8 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= consul
|
||||
PORTVERSION= 0.9.3
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.0.1
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= sysutils
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1505222411
|
||||
SHA256 (hashicorp-consul-v0.9.3_GH0.tar.gz) = 69b76432203e046a8025ce13f7cc041b2308d72f07f240a57f2ba5d580fcff70
|
||||
SIZE (hashicorp-consul-v0.9.3_GH0.tar.gz) = 7278357
|
||||
TIMESTAMP = 1512496236
|
||||
SHA256 (hashicorp-consul-v1.0.1_GH0.tar.gz) = 3b28237dcf055445247a3fe6b9a9a575fd584df721e25477769a5e91b1f2cdce
|
||||
SIZE (hashicorp-consul-v1.0.1_GH0.tar.gz) = 7972294
|
||||
|
|
|
@ -37,9 +37,6 @@ command="/usr/sbin/daemon"
|
|||
command_args="-f -p ${pidfile} /usr/bin/env ${consul_env} ${procname} agent -data-dir=${consul_dir} -config-dir=%%PREFIX%%/etc/consul.d ${consul_args}"
|
||||
|
||||
start_precmd=consul_startprecmd
|
||||
restart_precmd=consul_checkconfig
|
||||
reload_precmd=consul_checkconfig
|
||||
configtest_cmd=consul_checkconfig
|
||||
|
||||
consul_startprecmd()
|
||||
{
|
||||
|
@ -50,12 +47,6 @@ consul_startprecmd()
|
|||
if [ ! -d ${consul_dir} ]; then
|
||||
install -d -o ${consul_user} -g ${consul_group} ${consul_dir}
|
||||
fi
|
||||
consul_checkconfig
|
||||
}
|
||||
|
||||
consul_checkconfig()
|
||||
{
|
||||
${procname} validate /usr/local/etc/consul.d
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Reference in a new issue