Last active
June 3, 2023 11:38
-
-
Save ROBJkE/cffe8789e2a170061f5e0bb43ae2a48a to your computer and use it in GitHub Desktop.
sw6: supervisor worker conf
This file contains 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
[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 |
This file contains 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
; /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