diff --git a/README.md b/README.md index 7412680..954fb0b 100644 --- a/README.md +++ b/README.md @@ -144,8 +144,11 @@ To leave the container on the console you have to execute 2x `exit`. ********************************************************************************************************** ## Changelog -### 0.9.0 (19.01.2023) -* (simatec) Betatest Piler Build + +### 0.9.0 (23.01.2023) +* (simatec) Piler Build added +* (simatec) Piler Import Option added +* (simatec) Fix Updater ### 0.8.3 (19.01.2023) * (simatec) Update himself added diff --git a/install-piler.sh b/install-piler.sh index 145bd23..e44e9f8 100644 --- a/install-piler.sh +++ b/install-piler.sh @@ -100,6 +100,7 @@ fi installPth=`pwd` configPth="$installPth/config" etcPth="/var/lib/docker/volumes/piler-docker_piler_etc/_data" +cronPth="/var/lib/docker/volumes/piler-docker_piler_cron/_data" buildPth="$installPth/build" ############################## Installer Settings ###################################### @@ -208,6 +209,16 @@ if [ ! -f $installPth/.configDone ]; then sed -i 's/MAILCOW_HOST=.*/MAILCOW_HOST="'$mailcowHost'"/g' ./piler.conf fi + # Import Interval Settings + while true; do + read -ep "If Use automatic import to 5 minutes interval (yes/no)? / Y|N (Default: no): " jn + case $jn in + [Yy]* ) AUTO_IMPORT=true; break;; + [Nn]* ) AUTO_IMPORT=false; break;; + * ) echo -e "${redBold} Please confirm with Y or N.${normal}";; + esac + done + echo echo "${blue}${HLINE}" echo "All settings were saved in the piler.conf file" @@ -355,6 +366,7 @@ echo cat >> $etcPth/config-site.php <> $etcPth/config-site.php <> $cronPth/piler <> $etcPth/config-site.php <