Updates in install scripts
This commit is contained in:
parent
6cdb06efd0
commit
9ca082e26a
2 changed files with 7 additions and 1 deletions
|
@ -49,6 +49,9 @@ EOF
|
||||||
installPrerequisities
|
installPrerequisities
|
||||||
installMailtrain http://localhost:3000 http://localhost:3003 http://localhost:3004 0.0.0.0 false
|
installMailtrain http://localhost:3000 http://localhost:3003 http://localhost:3004 0.0.0.0 false
|
||||||
installService
|
installService
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Success!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -88,6 +91,9 @@ EOF
|
||||||
installHttpsProxy "${hostTrusted}" 443 "${hostSandbox}" 443 "${hostPublic}" 443 "/etc/letsencrypt/live/${hostPublic}/cert.pem" "/etc/letsencrypt/live/${hostPublic}/privkey.pem" "/etc/letsencrypt/live/${hostPublic}/chain.pem"
|
installHttpsProxy "${hostTrusted}" 443 "${hostSandbox}" 443 "${hostPublic}" 443 "/etc/letsencrypt/live/${hostPublic}/cert.pem" "/etc/letsencrypt/live/${hostPublic}/privkey.pem" "/etc/letsencrypt/live/${hostPublic}/chain.pem"
|
||||||
installMailtrain "https://${hostTrusted}" "https://${hostSandbox}" "https://${hostPublic}" 127.0.0.1 true
|
installMailtrain "https://${hostTrusted}" "https://${hostSandbox}" "https://${hostPublic}" 127.0.0.1 true
|
||||||
installService
|
installService
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Success!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -x
|
|
||||||
hostType=ubuntu1804
|
hostType=ubuntu1804
|
||||||
|
|
||||||
SCRIPT_PATH=$(dirname $(realpath -s $0))
|
SCRIPT_PATH=$(dirname $(realpath -s $0))
|
||||||
|
|
Loading…
Reference in a new issue