-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsupervisord.conf
71 lines (60 loc) · 3.48 KB
/
supervisord.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
61
62
63
64
65
66
67
68
69
70
71
; Musicazoo Supervisor Configuration
; For more information on the config file, please see:
; http://supervisord.org/configuration.html
[inet_http_server] ; inet (TCP) server disabled by default
port=*:9001 ; (ip_address:port specifier, *:port for all iface)
username=musicazoo ; (default is no username (open server))
password=musicazoo ; (default is no password (open server))
[supervisord]
logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
loglevel=info ; (log level;default info; others: debug,warn,trace)
pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=false ; (start in foreground if true;default false)
;user=chrism ; (default is current user, required if root)
identifier=musicazoo ; (supervisord identifier, default is 'supervisor')
;directory=/tmp ; (default is not to cd during start)
;nocleanup=true ; (don't clean up tempfiles at start;default false)
;childlogdir=/tmp ; ('AUTO' child log dir, default $TEMP)
;environment=KEY="value" ; (key value pairs to add to environment)
;strip_ansi=false ; (strip ansi escape codes in logs; def. false)
; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///tmp/supervisor_musicazoo.sock ; use a unix:// URL for a unix socket
serverurl=http://127.0.0.1:9001 ; use an http:// url to specify an inet socket
username=musicazoo ; should be same as http_username if set
password=musicazoo ; should be same as http_password if set
;prompt=mysupervisor ; cmd line prompt (default "supervisor")
;history_file=~/.sc_history ; use readline history if available
; The below sample program section shows all possible program subsection values,
; create one or more 'real' program: sections to be able to control them under
; supervisor.
[program:queue]
command=python -m musicazoo.queue
redirect_stderr=true ; redirect proc stderr to stdout (default false)
;directory=/tmp ; directory to cwd to before exec (def no cwd)
;umask=022 ; umask for process (default None)
;priority=1 ; the relative start priority (default 999)
;stopsignal=QUIT ; signal used to kill process (default TERM)
;stopwaitsecs=10 ; max num secs to wait b4 SIGKILL (default 10)
;user=chrism ; setuid to this UNIX account to run the program
;stdout_logfile=/a/path ; stdout log path, NONE for none; default AUTO
environment=DISPLAY=":0" ; process environment additions (def no adds)
[program:wsgi]
command=python -m shmooze.wsgi
redirect_stderr=true ; redirect proc stderr to stdout (default false)
[program:volume]
command=python -m musicazoo.volume
redirect_stderr=true ; redirect proc stderr to stdout (default false)
[program:nlp]
command=python -m musicazoo.nlp
redirect_stderr=true ; redirect proc stderr to stdout (default false)
[program:top]
command=python -m musicazoo.top
redirect_stderr=true ; redirect proc stderr to stdout (default false)
[program:lux]
command=python -m musicazoo.lux
redirect_stderr=true ; redirect proc stderr to stdout (default false)