-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathtrwl-workers.conf
More file actions
67 lines (62 loc) · 1.99 KB
/
trwl-workers.conf
File metadata and controls
67 lines (62 loc) · 1.99 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[program:trwl-worker-realtime]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/traewelling-prod/artisan queue:work --sleep=1 --max-time=3600 --queue=realtime
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=3
redirect_stderr=true
stdout_logfile=/var/www/traewelling-prod/storage/logs/worker-realtime.log
stopwaitsecs=3600
[program:trwl-worker-important]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/traewelling-prod/artisan queue:work --sleep=3 --max-time=3600 --queue=important
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=2
redirect_stderr=true
stdout_logfile=/var/www/traewelling-prod/storage/logs/worker-important.log
stopwaitsecs=3600
[program:trwl-worker-normal]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/traewelling-prod/artisan queue:work --sleep=3 --max-time=3600 --queue=normal
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=2
redirect_stderr=true
stdout_logfile=/var/www/traewelling-prod/storage/logs/worker-normal.log
stopwaitsecs=3600
[program:trwl-worker-low]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/traewelling-prod/artisan queue:work --sleep=5 --max-time=3600 --queue=low
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=1
redirect_stderr=true
stdout_logfile=/var/www/traewelling-prod/storage/logs/worker-low.log
stopwaitsecs=3600
[program:trwl-worker-background]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/traewelling-prod/artisan queue:work --sleep=10 --max-time=3600 --queue=background
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=1
redirect_stderr=true
stdout_logfile=/var/www/traewelling-prod/storage/logs/worker-background.log
stopwaitsecs=3600
[group:trwl-workers]
programs=trwl-worker-realtime,trwl-worker-important,trwl-worker-normal,trwl-worker-low,trwl-worker-background