walle_deploy.sh 504 B

1234567891011121314151617181920212223
  1. #!/usr/bin/bash
  2. cd /var/www/agent_server
  3. git reset --hard
  4. git pull
  5. rm -f compose.lock
  6. composer install
  7. chown -R www-data:www-data ./storage ./bootstrap
  8. chmod -R 777 ./storage ./bootstrap
  9. chmod -R 777 /var/log/www/
  10. # laravel 优化.
  11. #php artisan optimize:clear
  12. #php artisan optimize
  13. supervisorctl restart agent_server:*
  14. supervisorctl restart agent_server_static_inc:*
  15. supervisorctl restart agent_server_app_pack:*
  16. supervisorctl restart agent_server_attrs_today:*
  17. echo "多应用代理server 完成"