Last active
June 28, 2018 04:09
-
-
Save rdok/68e7d909514dc3ea9a740743f4f0093d to your computer and use it in GitHub Desktop.
Composer: handle deployment for queues.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"pre-install-cmd": [ | |
"php artisan down", | |
"php artisan queue:restart", | |
], | |
"post-install-cmd": [ | |
"php artisan up" | |
], | |
}, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"pre-install-cmd": [ | |
"supervisorctl stop all", | |
"php artisan queue:restart", | |
], | |
"post-install-cmd": [ | |
"supervisorctl start all" | |
], | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment