From 63b7ef7f48c16c16f693568efe2456cd8494039c Mon Sep 17 00:00:00 2001 From: saibotk Date: Mon, 29 Jul 2019 12:56:11 +0200 Subject: [PATCH] fix install and cronjob --- services/php/install.sh | 1 + services/php/schedule | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/services/php/install.sh b/services/php/install.sh index af35f76..2df214c 100755 --- a/services/php/install.sh +++ b/services/php/install.sh @@ -24,6 +24,7 @@ if [ "$run" = "y" ] || [ "$run" = "Y" ] || [ "$run" = "" ]; then read -n1 configureTPval if [ "$configureTPval" = "" ]; then configureTPval="*" + fi printf "\n\nTRUSTED_PROXIES=$configureTPval" >> .env fi php artisan key:generate --force diff --git a/services/php/schedule b/services/php/schedule index b939920..81f6972 100644 --- a/services/php/schedule +++ b/services/php/schedule @@ -1 +1 @@ -* * * * * /usr/bin/php /var/www/html/pterodactyl/artisan schedule:run >> /dev/null 2>&1 +* * * * * php /var/www/html/pterodactyl/artisan schedule:run >> /dev/null 2>&1