-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
supervisor.conf
32 lines (29 loc) · 1.04 KB
/
supervisor.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[group:fetch_items]
programs=fetch_items_1,fetch_items_2,fetch_items_3
[program:fetch_items_1]
directory=/path/to/f43
command=/usr/bin/php bin/console messenger:consume --limit=20 --env=prod fetch_items
autostart=true
autorestart=true
stderr_logfile=/path/to/f43/var/log/fetch_items_1.err
stdout_logfile=/path/to/f43/var/log/fetch_items_1.log
user=www-data
environment = http_proxy="",https_proxy=""
[program:fetch_items_2]
directory=/path/to/f43
command=/usr/bin/php bin/console messenger:consume --limit=20 --env=prod fetch_items
autostart=true
autorestart=true
stderr_logfile=/path/to/f43/var/log/fetch_items_2.err
stdout_logfile=/path/to/f43/var/log/fetch_items_2.log
user=www-data
environment = http_proxy="",https_proxy=""
[program:fetch_items_3]
directory=/path/to/f43
command=/usr/bin/php bin/console messenger:consume --limit=20 --env=prod fetch_items
autostart=true
autorestart=true
stderr_logfile=/path/to/f43/var/log/fetch_items_3.err
stdout_logfile=/path/to/f43/var/log/fetch_items_3.log
user=www-data
environment = http_proxy="",https_proxy=""