1
- [supervisord]
2
- nodaemon=true
3
- user=%(ENV_USER)s
4
- logfile=/var/log/supervisor/supervisord.log
5
- pidfile=/var/run/supervisord.pid
6
-
7
1
[program:octane]
8
2
process_name=%(program_name)s_%(process_num)02d
9
3
command=php %(ENV_ROOT)s/artisan octane:start --server=roadrunner --host=0.0.0.0 --port=8000 --rpc-port=6001 --rr-config=%(ENV_ROOT)s/.rr.yaml
@@ -23,9 +17,9 @@ user=%(ENV_USER)s
23
17
autostart=%(ENV_WITH_HORIZON)s
24
18
autorestart=true
25
19
stdout_logfile=%(ENV_ROOT)s/storage/logs/horizon.log
26
- stdout_logfile_maxbytes=0
20
+ stdout_logfile_maxbytes=200MB
27
21
stderr_logfile=%(ENV_ROOT)s/storage/logs/horizon.log
28
- stderr_logfile_maxbytes=0
22
+ stderr_logfile_maxbytes=200MB
29
23
stopwaitsecs=3600
30
24
31
25
[program:scheduler]
@@ -35,9 +29,9 @@ user=%(ENV_USER)s
35
29
autostart=%(ENV_WITH_SCHEDULER)s
36
30
autorestart=true
37
31
stdout_logfile=%(ENV_ROOT)s/storage/logs/scheduler.log
38
- stdout_logfile_maxbytes=0
32
+ stdout_logfile_maxbytes=200MB
39
33
stderr_logfile=%(ENV_ROOT)s/storage/logs/scheduler.log
40
- stderr_logfile_maxbytes=0
34
+ stderr_logfile_maxbytes=200MB
41
35
42
36
[program:clear-scheduler-cache]
43
37
process_name=%(program_name)s_%(process_num)02d
@@ -48,6 +42,9 @@ autorestart=false
48
42
startsecs=0
49
43
startretries=1
50
44
stdout_logfile=%(ENV_ROOT)s/storage/logs/scheduler.log
51
- stdout_logfile_maxbytes=0
45
+ stdout_logfile_maxbytes=200MB
52
46
stderr_logfile=%(ENV_ROOT)s/storage/logs/scheduler.log
53
- stderr_logfile_maxbytes=0
47
+ stderr_logfile_maxbytes=200MB
48
+
49
+ [include]
50
+ files=/etc/supervisor/supervisord.conf
0 commit comments