New
Restart Queue Workers After a Deploy
Tells running workers to finish the current job and exit, so the supervisor starts them on the new code.
When you need this: Every deploy. Workers hold the old code in memory and keep running it until restarted.
Variables
Files this creates must be owned by the user PHP-FPM runs as.
Command
1 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.