forked from andreazorzi/PicoLink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupervisord.production.conf
60 lines (55 loc) · 1.31 KB
/
supervisord.production.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
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
[supervisord]
user=root
logfile = /dev/null
loglevel = info
pidfile = /var/run/supervisord.pid
nodaemon = true
[program:php]
user=root
command=php-fpm -F ; '-F' forces php-fpm to run in the foreground
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:envcache]
user=apache
command=php artisan config:cache
autostart=true
autorestart=false ; Do not restart the program if it exits
exitcodes=0 ; Treat exit status 0 as a successful exit
startsecs=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:httpd]
user=root
command=httpd -DFOREGROUND
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:artisan]
user=apache
directory = /var/www/html
command = php artisan schedule:work
autostart = true
autorestart = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
stderr_logfile = /dev/stderr
stderr_logfile_maxbytes = 0
[program:worker]
user=apache
directory = /var/www/html
command = php artisan queue:listen
autostart = true
autorestart = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
stderr_logfile = /dev/stderr
stderr_logfile_maxbytes = 0