Dont run server as root

This commit is contained in:
Deon George 2021-06-26 10:57:18 +10:00
parent 980f57e808
commit 2f23158c1b

View File

@ -20,4 +20,4 @@ while [ ! -e bootstrap/cache/config.php -o -e .migrate ]; do
done
echo "* Ready to start server"
exec ./artisan server:start
exec su www-data -s /bin/sh -c "./artisan server:start"