Change database permissions on startup
This commit is contained in:
parent
2e55e105b5
commit
21a2776b39
@ -14,6 +14,9 @@ sleep 1
|
||||
# Create database if it does not exist
|
||||
/usr/local/bin/php /var/www/html/endpoints/cronjobs/createdatabase.php
|
||||
|
||||
# Change permissions on the database directory
|
||||
chmod -R 755 /var/www/html/db/
|
||||
|
||||
# Run updatenextpayment.php and wait for it to finish
|
||||
/usr/local/bin/php /var/www/html/endpoints/cronjobs/updatenextpayment.php
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user