mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
@ -192,7 +192,6 @@ touch /home/${V_USERNAME}/.logs/workers/worker.log
|
||||
echo "${V_WORKER_CONFIG}" | tee /etc/supervisor/conf.d/worker.conf
|
||||
supervisorctl reread
|
||||
supervisorctl update
|
||||
supervisorctl start worker:*
|
||||
|
||||
# setup cronjobs
|
||||
echo "* * * * * cd /home/${V_USERNAME}/vito && php artisan schedule:run >> /dev/null 2>&1" | sudo -u ${V_USERNAME} crontab -
|
||||
@ -203,6 +202,9 @@ chown -R ${V_USERNAME}:${V_USERNAME} /home/${V_USERNAME}
|
||||
# cache
|
||||
php artisan config:cache
|
||||
|
||||
# start worker
|
||||
supervisorctl start worker:*
|
||||
|
||||
# print info
|
||||
echo "🎉 Congratulations!"
|
||||
echo "✅ SSH User: ${V_USERNAME}"
|
||||
|
Reference in New Issue
Block a user