Skip to content

Instantly share code, notes, and snippets.

@ROBJkE
Last active June 3, 2023 11:38
Show Gist options
  • Save ROBJkE/cffe8789e2a170061f5e0bb43ae2a48a to your computer and use it in GitHub Desktop.
Save ROBJkE/cffe8789e2a170061f5e0bb43ae2a48a to your computer and use it in GitHub Desktop.
sw6: supervisor worker conf
[program:scheduled-task]
command=php -d memory_limit=256M /var/shopware/bin/console scheduled-task:run --time-limit=120
numprocs=2
startsecs=0
autostart=true
autorestart=true
process_name=%(program_name)s_%(process_num)02d
; /etc/supervisor/conf.d/shopware-messenger-worker.conf
[program:messenger-consume]
; from shopware version 6.5 replace default with async
command=php -d memory_limit=256M /var/shopware/bin/console messenger:consume --time-limit=200
; replace with your user
user=<system-user-name>
numprocs=4
startsecs=0
autostart=true
autorestart=true
;startretries=10
process_name=%(program_name)s_%(process_num)02d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment