Update nomad to 0.12.9 and improve the rc script.
PR: 251384 Approved by: maintainer timeout, zi Security: 618010ff-3044-11eb-8112-000c292ee6b8
This commit is contained in:
parent
ecb5b21c9e
commit
c473c09129
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558169
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= nomad
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.12.5
|
||||
DISTVERSION= 0.12.9
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= jhixson@FreeBSD.org
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1600979864
|
||||
SHA256 (hashicorp-nomad-v0.12.5_GH0.tar.gz) = 7fef52a2ffa81620d55d5ca73fa28ffa872acfd6a0b90a82451b2a0620f9a612
|
||||
SIZE (hashicorp-nomad-v0.12.5_GH0.tar.gz) = 51464001
|
||||
TIMESTAMP = 1606423825
|
||||
SHA256 (hashicorp-nomad-v0.12.9_GH0.tar.gz) = 22616dcb3e254a14a367bce1090edbebcd1155424b9b5097816f6584f1260e7d
|
||||
SIZE (hashicorp-nomad-v0.12.9_GH0.tar.gz) = 51467264
|
||||
|
@ -40,7 +40,7 @@ pidfile=/var/run/nomad.pid
|
||||
procname="%%PREFIX%%/bin/nomad"
|
||||
command="/usr/sbin/daemon"
|
||||
nomad_command="/usr/bin/env ${nomad_env} ${procname} agent -data-dir=${nomad_dir} ${nomad_args}"
|
||||
command_args="-f -p ${pidfile} ${nomad_command}"
|
||||
command_args="-f -t ${name} -p ${pidfile} ${nomad_command}"
|
||||
|
||||
start_precmd=nomad_startprecmd
|
||||
|
||||
@ -54,7 +54,7 @@ nomad_startprecmd()
|
||||
install -d -o ${nomad_user} -g ${nomad_group} ${nomad_dir}
|
||||
fi
|
||||
if [ "${nomad_debug}" != "NO" ]; then
|
||||
command_args="-S -T ${name} -p ${pidfile} ${nomad_command}"
|
||||
command_args="-T ${name} ${command_args}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user