(simatec) update fix
This commit is contained in:
parent
ac5dabf202
commit
f4fbed8f3c
2 changed files with 8 additions and 2 deletions
|
@ -213,8 +213,8 @@ if [ ! -f $installPth/.configDone ]; then
|
||||||
while true; do
|
while true; do
|
||||||
read -ep "If Use automatic import to 5 minutes interval (yes/no)? / Y|N (Default: no): " jn
|
read -ep "If Use automatic import to 5 minutes interval (yes/no)? / Y|N (Default: no): " jn
|
||||||
case $jn in
|
case $jn in
|
||||||
[Yy]* ) AUTO_IMPORT=true; break;;
|
[Yy]* ) sed -i 's/AUTO_IMPORT=.*/AUTO_IMPORT=true/g' ./piler.conf; break;;
|
||||||
[Nn]* ) AUTO_IMPORT=false; break;;
|
[Nn]* ) sed -i 's/AUTO_IMPORT=.*/AUTO_IMPORT=false/g' ./piler.conf; break;;
|
||||||
* ) echo -e "${redBold} Please confirm with Y or N.${normal}";;
|
* ) echo -e "${redBold} Please confirm with Y or N.${normal}";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -435,6 +435,8 @@ cat >> $cronPth/piler <<EOF
|
||||||
### Piler import added by Piler-Installer
|
### Piler import added by Piler-Installer
|
||||||
*/5 * * * * /usr/libexec/piler/import.sh
|
*/5 * * * * /usr/libexec/piler/import.sh
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
chown 1000:crontab $cronPth/piler
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$USE_MAILCOW" = true ]; then
|
if [ "$USE_MAILCOW" = true ]; then
|
||||||
|
|
|
@ -63,6 +63,10 @@ MAILCOW_APIKEY="your_Mailcow_API-Key"
|
||||||
|
|
||||||
MAILCOW_HOST="mail.example.com"
|
MAILCOW_HOST="mail.example.com"
|
||||||
|
|
||||||
|
# Import Interval Settings
|
||||||
|
|
||||||
|
AUTO_IMPORT=false
|
||||||
|
|
||||||
# ------ Container Versions --------
|
# ------ Container Versions --------
|
||||||
|
|
||||||
# Piler Version
|
# Piler Version
|
||||||
|
|
Loading…
Reference in a new issue