Used sequpgrade.sh to upgrade existing seqs
This commit is contained in:
@@ -24,10 +24,10 @@ CONFIG_FILE_TEMPLATE="$WDIR/${CONFIG_FILE_NAME}.example"
|
||||
#}
|
||||
|
||||
step_1_info() { echo "Install $toolDeps"; }
|
||||
step_1_alias() { ALIAS="install"; }
|
||||
step_1_alias() { echo "install"; }
|
||||
step_1() {
|
||||
local aptOpt=
|
||||
if [ $QUIET -ne 0 ];then
|
||||
if quiet;then
|
||||
aptOpt="-y"
|
||||
fi
|
||||
exe apt update
|
||||
@@ -38,7 +38,7 @@ step_2_info() {
|
||||
echo "Add cron to update whitelist_clients from"
|
||||
echoinfo "$updateUrl"
|
||||
}
|
||||
step_2_alias() { ALIAS="cron"; }
|
||||
step_2_alias() { echo "cron"; }
|
||||
step_2() {
|
||||
addConf -s "$postCron" "$postCronLoc"
|
||||
}
|
||||
@@ -47,7 +47,7 @@ postCron="# -q quiet -N timestamping (overwrite existing file) -O target file
|
||||
01 23 5 * * root /usr/bin/wget -qNO \"$toolWhitelistLoc\" $updateUrl && /usr/sbin/service postgrey restart"
|
||||
|
||||
step_3_info() { echo "Configuration notes"; }
|
||||
step_3_alias() { ALIAS="notes"; }
|
||||
step_3_alias() { echo "notes"; }
|
||||
step_3() {
|
||||
echo "$toolNotes"
|
||||
}
|
||||
@@ -71,10 +71,10 @@ toolNotes="
|
||||
"
|
||||
|
||||
step_10_info() { echo "Restart $toolName"; }
|
||||
step_10_alias() { ALIAS="restart"; }
|
||||
step_10_alias() { echo "restart"; }
|
||||
step_10() {
|
||||
exe service $toolName restart
|
||||
}
|
||||
|
||||
VERSION_SEQREV=11
|
||||
readonly sqr_minVersion=16
|
||||
. /usr/local/bin/sequencer.sh
|
||||
|
Reference in New Issue
Block a user