You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I execute the command in the previous release path?
I've created this task, but it is being executed in the new path:
namespace :deploy do
desc 'Restart messenger'
task :migrate do
on roles(:app) do
symfony_console('messenger:stop-workers')
end
end
end
before "symfony:cache:warmup", "deploy:migrate"
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to include a tastk to restart symfony messenger once deployed the new code (https://symfony.com/doc/current/messenger.html#deploying-to-production)
But as this comment says (https://stackoverflow.com/questions/63508798/symfony-messenger-workers-do-not-stop-when-running-under-supervisor), the command must be executed in the "old" release path, not in the new release path
How can I execute the command in the previous release path?
I've created this task, but it is being executed in the new path:
The text was updated successfully, but these errors were encountered: