fix install and cronjob
This commit is contained in:
parent
a317ba0926
commit
63b7ef7f48
2 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ if [ "$run" = "y" ] || [ "$run" = "Y" ] || [ "$run" = "" ]; then
|
||||||
read -n1 configureTPval
|
read -n1 configureTPval
|
||||||
if [ "$configureTPval" = "" ]; then
|
if [ "$configureTPval" = "" ]; then
|
||||||
configureTPval="*"
|
configureTPval="*"
|
||||||
|
fi
|
||||||
printf "\n\nTRUSTED_PROXIES=$configureTPval" >> .env
|
printf "\n\nTRUSTED_PROXIES=$configureTPval" >> .env
|
||||||
fi
|
fi
|
||||||
php artisan key:generate --force
|
php artisan key:generate --force
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue