Update 'Vars.md'

This commit is contained in:
Bram Prieshof
2020-10-01 12:10:32 +02:00
parent 96a9b0410c
commit 8afeb03ddf

15
Vars.md
View File

@@ -14,7 +14,12 @@ Options
branch=<Branch name> branch=<Branch name>
``` ```
Usage Usage
``` ```
#cUrl
curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/installer.sh -O installer.sh
#wget
wget -t7 "$repo"/raw/branch/"$branch"/installer.sh wget -t7 "$repo"/raw/branch/"$branch"/installer.sh
``` ```
@@ -26,7 +31,11 @@ branchtype=tag # to pull a release/tagged version
``` ```
Usage Usage
``` ```
wget -t7 "$repo"/raw/"$branchtype"/"$branch"/installer.sh #cUrl
curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/installer.sh -O installer.sh
#wget
wget -t7 "$repo"/raw/branch/"$branch"/installer.sh
``` ```
@@ -102,7 +111,7 @@ cockpit=0
Usage Usage
``` ```
if [ $cockpit = 1 ]; then if [ $cockpit = 1 ]; then
wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Cockpit/raw/branch/master/Slave-installer.sh -O Slave-Installer.sh curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Cockpit/raw/branch/master/Slave-installer.sh -o Slave-Installer.sh
source Slave-Installer.sh source Slave-Installer.sh
fi fi
``` ```
@@ -128,7 +137,7 @@ sqlver=5.7
``` ```
Usage Usage
``` ```
wget https://git.ictmaatwerk.com/VPS-scripts/MySQL/raw/branch/master/mysql-${sqlver}.sh -O Mysql-Installer.sh curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/MySQL/raw/branch/master/mysql-${sqlver}.sh -o Mysql-Installer.sh
source Mysql-Installer.sh source Mysql-Installer.sh
``` ```