Used sequpgrade.sh to upgrade existing seqs

This commit is contained in:
2022-05-29 20:58:23 +02:00
parent 10ee4198f0
commit 6214493c18
57 changed files with 802 additions and 806 deletions

View File

@@ -13,7 +13,7 @@ myUser=
myPass=
step_1_info() { echo "Install $toolName via apt"; }
step_1_alias() { ALIAS="install"; }
step_1_alias() { echo "install"; }
step_1() {
exe apt update
exe apt install -y $toolName
@@ -72,13 +72,13 @@ Some essential settings needed:
- Admin User"
step_4_info() { echo "Restart $toolName"; }
step_4_alias() { ALIAS="restart"; }
step_4_alias() { echo "restart"; }
step_4() {
exe service ejabberd restart
}
step_5_info() { echo "Create new user"; }
step_5_alias() { ALIAS="adduser"; }
step_5_alias() { echo "adduser"; }
step_5() {
readDomain
readUser
@@ -87,14 +87,14 @@ step_5() {
}
step_10_info() { echo "List existing user"; }
step_10_alias() { ALIAS="listuser"; }
step_10_alias() { echo "listuser"; }
step_10() {
readDomain
exe ejabberdctl registered_users $myDomain
}
step_12_info() { echo "Change password for existing user"; }
step_12_alias() { ALIAS="passwd"; }
step_12_alias() { echo "passwd"; }
step_12() {
readDomain
readUser
@@ -103,7 +103,7 @@ step_12() {
}
step_14_info() { echo "Remove registered user"; }
step_14_alias() { ALIAS="deluser"; }
step_14_alias() { echo "deluser"; }
step_14() {
readDomain
readUser
@@ -143,5 +143,5 @@ readUserPass() {
}
SEQDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >>/dev/null 2>&1 && pwd )"
VERSION_SEQREV=4
readonly sqr_minVersion=16
. sequencer.sh