Improve preflight file permissions check (#114)

* Added startup permissions check with more helpful message

* Updated README

* Fixes faulty test
This commit is contained in:
Kieran
2024-03-24 15:06:08 -07:00
committed by GitHub
parent 610b00566b
commit dd60cb5419
7 changed files with 131 additions and 23 deletions
+7
View File
@@ -1,4 +1,11 @@
#!/bin/sh
/app/bin/check_file_permissions
if [ $? -ne 0 ]; then
echo "Filesystem error. Exiting."
exit 1
fi
/app/bin/migrate
cd -P -- "$(dirname -- "$0")"