upgrade 2.1.0
This commit is contained in:
parent
7fa09f19de
commit
91d9f3b29f
10
control
10
control
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# release version
|
||||
version=2.0.0
|
||||
version=2.1.0
|
||||
|
||||
CWD=$(cd $(dirname $0)/; pwd)
|
||||
cd $CWD
|
||||
|
@ -190,7 +190,11 @@ reload()
|
|||
|
||||
pack()
|
||||
{
|
||||
v=$(date +%Y-%m-%d-%H-%M-%S)
|
||||
v=$1
|
||||
if [ "x${v}" = "x" ]; then
|
||||
v=$(date +%Y-%m-%d-%H-%M-%S)
|
||||
fi
|
||||
|
||||
tar zcvf n9e-$v.tar.gz control sql plugin pub etc/log etc/port etc/service etc/nginx.conf etc/mysql.yml etc/address.yml \
|
||||
n9e-collector etc/collector.yml \
|
||||
n9e-tsdb etc/tsdb.yml \
|
||||
|
@ -220,7 +224,7 @@ case "$1" in
|
|||
reload $2
|
||||
;;
|
||||
pack)
|
||||
pack
|
||||
pack $2
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
|
|
Loading…
Reference in New Issue