test
This commit is contained in:
parent
c9e289bc21
commit
ac0b57a811
1 changed files with 3 additions and 2 deletions
|
@ -173,6 +173,7 @@ php artisan migrate --force
|
|||
php artisan db:seed --force
|
||||
php artisan p:user:make --name-first $admin --name-last $admin --username $admin --email $email --password $password --admin 1
|
||||
php artisan p:environment:setup --author=$email --url=https://$domain --timezone=America/New_York --cache=redis --session=database --queue=redis --disable-settings-ui --redis-host=127.0.0.1 --redis-pass= --redis-port=6379
|
||||
php artisan migrate --seed --force
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
@ -194,7 +195,7 @@ yunohost service add $app --log "/var/log/$app/$app-prod.log"
|
|||
# Cron
|
||||
#==============================================
|
||||
|
||||
crontab -l | { cat; echo "* * * * * php /var/www/pterodactyl/artisan schedule:run" ; } | crontab -
|
||||
crontab -l | { cat; echo "* * * * * php /var/www/pterodactyl/artisan schedule:run" ; } | crontab -
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
@ -203,7 +204,7 @@ crontab -l | { cat; echo "* * * * * php /var/www/pterodactyl/artisan schedule:ru
|
|||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R $app: $final_path
|
||||
chown -R www-data:www-data $final_path
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Reference in a new issue