more cleanup

This commit is contained in:
Jokob-sk
2022-11-20 14:08:54 +11:00
parent 7d4d5433ef
commit 5164d6566d
7 changed files with 58 additions and 97 deletions

View File

@@ -2,10 +2,8 @@
/home/pi/pialert/dockerfiles/user-mapping.sh
# if custom variables not set we do not need to do anything
if [ -n "${TZ}" ]; then
# sed -ie "s|Europe/Berlin|${TZ}|g" /home/pi/pialert/install/pialert.cron
sed -ie "s|Europe/Berlin|${TZ}|g" /home/pi/pialert/config/pialert.conf
# crontab < /home/pi/pialert/install/pialert.cron
if [ -n "${TZ}" ]; then
sed -ie "s|Europe/Berlin|${TZ}|g" /home/pi/pialert/config/pialert.conf
fi
if [ -n "${PORT}" ]; then