(simatec) Fix Installer

This commit is contained in:
simatec 2022-03-09 14:46:53 +01:00
parent d8cdf12ff7
commit 41608954c1

View file

@ -23,7 +23,9 @@ fi
HLINE="==================================================================" HLINE="=================================================================="
. ./piler.conf . ./piler.conf
if [ ! -f /opt/piler-docker/.env ]; then
ln -s ./piler.conf .env ln -s ./piler.conf .env
fi
if [ -f /opt/piler-docker/docker-compose.yml ]; then if [ -f /opt/piler-docker/docker-compose.yml ]; then
rm /opt/piler-docker/docker-compose.yml rm /opt/piler-docker/docker-compose.yml
@ -177,11 +179,15 @@ docker-compose restart
echo echo
echo "${greenBold}${HLINE}" echo "${greenBold}${HLINE}"
echo "${greenBold} Piler install completed successfully" echo "${greenBold} Piler install completed successfully"
echo "${greenBold}${HLINE}${normal}"
echo echo
echo
echo "${greenBold}${HLINE}"
if [ "$USE_LETSENCRYPT" = "yes" ]; then if [ "$USE_LETSENCRYPT" = "yes" ]; then
echo "${greenBold}you can start in your Browser with https://${PILER_DOMAIN}!" echo "${greenBold}you can start in your Browser with https://${PILER_DOMAIN}!"
else else
echo "${greenBold}you can start in your Browser with http://${PILER_DOMAIN} or http://local-ip!" echo "${greenBold}you can start in your Browser with: http://${PILER_DOMAIN} or http://local-ip!"
echo "${greenBold}http://${PILER_DOMAIN} or http://local-ip"
fi fi
echo "${greenBold}${HLINE}${normal}" echo "${greenBold}${HLINE}${normal}"
echo echo