Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ridgarou authored Dec 26, 2021
1 parent fe5217a commit 8a3f9a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ echo ""
echo "# Adding cronjob and starting..."
echo '0,15,30,45 * * * * /app/Auto_Books_Calibre.sh >> /Books_Calibre_Backup/01-Calibre.log 2>&1' | crontab
service cron start

if [ ! -f /app/edited ]; then
sed -i 's/type="email" class="form-control" name="kindle_mail"/type="text" class="form-control" name="kindle_mail"/g' /app/calibre-web/cps/templates/user_edit.html
touch /app/edited
fi
echo ""
echo "###########################"
echo "# Config completed #"
Expand Down

0 comments on commit 8a3f9a1

Please sign in to comment.