fixing permissions, simplyfying the start.sh script

This commit is contained in:
jokob.sk
2022-07-15 12:33:12 +10:00
parent 35f1155250
commit 4f0a9aff04
4 changed files with 28 additions and 9 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh
/home/pi/pialert/dockerfiles/user-mapping.sh
# probably too broad permissions
chmod -R 755 /home/pi/pialert
chmod -R 755 /var/www/html/pialert
chmod -R o+w /home/pi/pialert/db
#chmod -R 755 /var/www/html/pialert
#chmod -R o+w /home/pi/pialert/db
/etc/init.d/lighttpd start
service cron start && tail -f /dev/null
cron -f