#!/usr/bin/bash cd /var/www/agent_server git reset --hard git pull rm -f compose.lock composer install chown -R www-data:www-data ./storage ./bootstrap chmod -R 777 ./storage ./bootstrap chmod -R 777 /var/log/www/ # laravel 优化. #php artisan optimize:clear #php artisan optimize supervisorctl restart agent_server:* supervisorctl restart agent_server_static_inc:* supervisorctl restart agent_server_app_pack:* supervisorctl restart agent_server_attrs_today:* echo "多应用代理server 完成"