-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsupervisord.conf
More file actions
55 lines (47 loc) · 1.36 KB
/
supervisord.conf
File metadata and controls
55 lines (47 loc) · 1.36 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
; Notes:
; 20240515: No need to use supervisor-stdout. Supervisor-stdout is a python app that has not been updated for 3 years.
; Supervisord can output to stdout with stdout_logfile.
[supervisord]
nodaemon = true
user = root
logfile = /var/log/supervisor/supervisord.log
logfile_maxbytes = 0
pidfile = /run/supervisor/supervisord.pid
; BEGIN SCM-3106
; 20250213: Enable RPC interface for supervisorctl to start, stop, and restart supervisord via the command line.
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[unix_http_server]
file=/var/run/supervisor/supervisor.sock
chmod=0700
[supervisorctl]
serverurl=unix:///var/run/supervisor/supervisor.sock
; END SCM-3106
[program:nginx]
command = /usr/sbin/nginx
user = root
autostart = true
autorestart=true
redirect_stderr = true
stderr_events_enabled = true
stdout_events_enabled = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:php-fpm]
command = /usr/sbin/php-fpm83 -F
user = root
autostart = true
redirect_stderr = true
stderr_events_enabled = true
stdout_events_enabled = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:crond]
command = /usr/sbin/crond -f
user = root
autostart = true
redirect_stderr = true
stderr_events_enabled = true
stdout_events_enabled = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0