diff --git a/README.md b/README.md index 060bd2ba..455d8b44 100644 --- a/README.md +++ b/README.md @@ -72,12 +72,12 @@ Thus, by running this script below, you agree with the Let's Encrypt's Terms of For Centos 7 type: ``` - sh setup/install-centos7-https.sh mailtrain.example.com sbox.mailtrain.example.com lists.example.com admin@example.com + bash setup/install-centos7-https.sh mailtrain.example.com sbox.mailtrain.example.com lists.example.com admin@example.com ``` For Ubuntu 18.04 LTS type: ``` - sh setup/install-ubuntu1804-https.sh mailtrain.example.com sbox.mailtrain.example.com lists.example.com admin@example.com + bash setup/install-ubuntu1804-https.sh mailtrain.example.com sbox.mailtrain.example.com lists.example.com admin@example.com ``` 5. Start Mailtrain and enable to be started by default when your server starts. @@ -128,12 +128,12 @@ All endpoints (trusted, sandbox, public) will provide only HTTP as follows: For Centos 7 type: ``` - sh setup/install-centos7-local.sh + bash setup/install-centos7-local.sh ``` For Ubuntu 18.04 LTS type: ``` - sh setup/install-ubuntu1804-local.sh + bash setup/install-ubuntu1804-local.sh ``` 5. Start Mailtrain and enable to be started by default when your server starts. diff --git a/setup/install-centos7-https.sh b/setup/install-centos7-https.sh index 0ec60dfd..ee003a43 100644 --- a/setup/install-centos7-https.sh +++ b/setup/install-centos7-https.sh @@ -2,8 +2,10 @@ set -e +hostType=centos7 + SCRIPT_PATH=$(dirname $(realpath -s $0)) -. $SCRIPT_PATH/functions centos7 +. $SCRIPT_PATH/functions cd $SCRIPT_PATH/.. performInstallHttps "$#" "$1" "$2" "$3" "$4" \ No newline at end of file diff --git a/setup/install-centos7-local.sh b/setup/install-centos7-local.sh index 71ebabcb..dc8b7de8 100644 --- a/setup/install-centos7-local.sh +++ b/setup/install-centos7-local.sh @@ -2,8 +2,10 @@ set -e +hostType=centos7 + SCRIPT_PATH=$(dirname $(realpath -s $0)) -. $SCRIPT_PATH/functions centos7 +. $SCRIPT_PATH/functions cd $SCRIPT_PATH/.. performInstallLocal "$#" \ No newline at end of file