From 2f23158c1bba78bc26f1a1874da920eb558ff8cb Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 26 Jun 2021 10:57:18 +1000 Subject: [PATCH] Dont run server as root --- init-php.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init-php.sh b/init-php.sh index e48cdff..27a4176 100755 --- a/init-php.sh +++ b/init-php.sh @@ -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"