Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
cfcf3b20
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cfcf3b20
编写于
12月 03, 2018
作者:
L
Lei Wang
提交者:
Jiangtao Hu
12月 13, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove supervisor configure.
上级
e0a4152c
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
0 addition
and
778 deletion
+0
-778
modules/tools/supervisord/dev.conf
modules/tools/supervisord/dev.conf
+0
-389
modules/tools/supervisord/release.conf
modules/tools/supervisord/release.conf
+0
-389
未找到文件。
modules/tools/supervisord/dev.conf
已删除
100644 → 0
浏览文件 @
e0a4152c
;
install
supervisor
by
command
;
sudo
pip
install
supervisor
;
start
with
command
;
cd
/
apollo
;
supervisord
-
c
tools
/
supervisord
.
conf
;
stop
with
command
;
sudo
unlink
/
tmp
/
supervisord
.
sock
;
Sample
supervisor
config
file
.
;
;
For
more
information
on
the
config
file
,
please
see
:
;
http
://
supervisord
.
org
/
configuration
.
html
;
;
Notes
:
; -
Shell
expansion
(
"~"
or
"$HOME"
)
is
not
supported
.
Environment
;
variables
can
be
expanded
using
this
syntax
:
"%(ENV_HOME)s"
.
; -
Quotes
around
values
are
not
supported
,
except
in
the
case
of
;
the
environment
=
options
as
shown
below
.
; -
Comments
must
have
a
leading
space
:
"a=b ;comment"
not
"a=b;comment"
.
; -
Command
will
be
truncated
if
it
looks
like
a
config
file
comment
,
e
.
g
.
;
"command=bash -c 'foo ; bar'"
will
truncate
to
"command=bash -c 'foo "
.
[
unix_http_server
]
file
=/
tmp
/
supervisor
.
sock
;
the
path
to
the
socket
file
;
chmod
=
0700
;
socket
file
mode
(
default
0700
)
;
chown
=
nobody
:
nogroup
;
socket
file
uid
:
gid
owner
;
username
=
user
;
default
is
no
username
(
open
server
)
;
password
=
123
;
default
is
no
password
(
open
server
)
;[
inet_http_server
] ;
inet
(
TCP
)
server
disabled
by
default
;
port
=
127
.
0
.
0
.
1
:
9001
;
ip_address
:
port
specifier
, *:
port
for
all
iface
;
username
=
user
;
default
is
no
username
(
open
server
)
;
password
=
123
;
default
is
no
password
(
open
server
)
[
supervisord
]
logfile
=/
tmp
/
supervisord
.
log
;
main
log
file
;
default
$
CWD
/
supervisord
.
log
logfile_maxbytes
=
50
MB
;
max
main
logfile
bytes
b4
rotation
;
default
50
MB
logfile_backups
=
10
;
# of main logfile backups; 0 means none, default 10
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
minfds
=
1024
;
min
.
avail
startup
file
descriptors
;
default
1024
minprocs
=
200
;
min
.
avail
process
descriptors
;
default
200
;
umask
=
022
;
process
file
creation
umask
;
default
022
;
user
=
chrism
;
default
is
current
user
,
required
if
root
;
identifier
=
supervisor
;
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
rpcinterface
:
supervisor
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
:
x
]
sections
.
[
rpcinterface
:
supervisor
]
supervisor
.
rpcinterface_factory
=
supervisor
.
rpcinterface
:
make_main_rpcinterface
;
The
supervisorctl
section
configures
how
supervisorctl
will
connect
to
;
supervisord
.
configure
it
match
the
settings
in
either
the
unix_http_server
;
or
inet_http_server
section
.
[
supervisorctl
]
serverurl
=
unix
:///
tmp
/
supervisor
.
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
=
chris
;
should
be
same
as
in
[*
_
http_server
]
if
set
;
password
=
123
;
should
be
same
as
in
[*
_
http_server
]
if
set
;
prompt
=
mysupervisor
;
cmd
line
prompt
(
default
"supervisor"
)
;
history_file
=~/.
sc_history
;
use
readline
history
if
available
;
The
sample
program
section
below
shows
all
possible
program
subsection
values
.
;
Create
one
or
more
'real'
program
:
sections
to
be
able
to
control
them
under
;
supervisor
.
;[
program
:
theprogramname
]
;
command
=/
bin
/
cat
;
the
program
(
relative
uses
PATH
,
can
take
args
)
;
process_name
=%(
program_name
)
s
;
process_name
expr
(
default
%(
program_name
)
s
)
;
numprocs
=
1
;
number
of
processes
copies
to
start
(
def
1
)
;
directory
=/
tmp
;
directory
to
cwd
to
before
exec
(
def
no
cwd
)
;
umask
=
022
;
umask
for
process
(
default
None
)
;
priority
=
999
;
the
relative
start
priority
(
default
999
)
;
autostart
=
true
;
start
at
supervisord
start
(
default
:
true
)
;
startsecs
=
1
;
# of secs prog must stay up to be running (def. 1)
;
startretries
=
3
;
max
# of serial start failures when starting (default 3)
;
autorestart
=
unexpected
;
when
to
restart
if
exited
after
running
(
def
:
unexpected
)
;
exitcodes
=
0
,
2
;
'expected'
exit
codes
used
with
autorestart
(
default
0
,
2
)
;
stopsignal
=
QUIT
;
signal
used
to
kill
process
(
default
TERM
)
;
stopwaitsecs
=
10
;
max
num
secs
to
wait
b4
SIGKILL
(
default
10
)
;
stopasgroup
=
false
;
send
stop
signal
to
the
UNIX
process
group
(
default
false
)
;
killasgroup
=
false
;
SIGKILL
the
UNIX
process
group
(
def
false
)
;
user
=
chrism
;
setuid
to
this
UNIX
account
to
run
the
program
;
redirect_stderr
=
true
;
redirect
proc
stderr
to
stdout
(
default
false
)
;
stdout_logfile
=/
a
/
path
;
stdout
log
path
,
NONE
for
none
;
default
AUTO
;
stdout_logfile_maxbytes
=
1
MB
;
max
# logfile bytes b4 rotation (default 50MB)
;
stdout_logfile_backups
=
10
;
# of stdout logfile backups (0 means none, default 10)
;
stdout_capture_maxbytes
=
1
MB
;
number
of
bytes
in
'capturemode'
(
default
0
)
;
stdout_events_enabled
=
false
;
emit
events
on
stdout
writes
(
default
false
)
;
stderr_logfile
=/
a
/
path
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
;
stderr_logfile_maxbytes
=
1
MB
;
max
# logfile bytes b4 rotation (default 50MB)
;
stderr_logfile_backups
=
10
;
# of stderr logfile backups (0 means none, default 10)
;
stderr_capture_maxbytes
=
1
MB
;
number
of
bytes
in
'capturemode'
(
default
0
)
;
stderr_events_enabled
=
false
;
emit
events
on
stderr
writes
(
default
false
)
;
environment
=
A
=
"1"
,
B
=
"2"
;
process
environment
additions
(
def
no
adds
)
;
serverurl
=
AUTO
;
override
serverurl
computation
(
childutils
)
[
program
:
dreamview
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
dreamview
/
dreamview
--
flagfile
=/
apollo
/
modules
/
dreamview
/
conf
/
dreamview
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
dreamview
.
out
[
program
:
monitor
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
monitor
/
monitor
--
flagfile
=/
apollo
/
modules
/
monitor
/
conf
/
monitor
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
monitor
.
out
[
program
:
gps
]
directory
=/
apollo
/
command
=/
apollo
/
bazel
-
bin
/
modules
/
drivers
/
gnss
/
gnss
--
flagfile
=/
apollo
/
modules
/
drivers
/
gnss
/
conf
/
gnss
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
gnss
.
out
[
program
:
conti_radar
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
drivers
/
radar
/
conti_radar
/
conti_radar
--
flagfile
=/
apollo
/
modules
/
drivers
/
radar
/
conti_radar
/
conf
/
conti_radar
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
conti_radar
.
out
[
program
:
mobileye
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
drivers
/
mobileye
/
mobileye
--
flagfile
=/
apollo
/
modules
/
drivers
/
mobileye
/
conf
/
mobileye
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
mobileye
.
out
[
program
:
canbus
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
canbus
/
canbus
--
flagfile
=/
apollo
/
modules
/
canbus
/
conf
/
canbus
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
canbus
.
out
[
program
:
localization
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
localization
/
localization
--
flagfile
=/
apollo
/
modules
/
localization
/
conf
/
localization
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
localization
.
out
[
program
:
navigation_localization
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
localization
/
localization
--
flagfile
=/
apollo
/
modules
/
localization
/
conf
/
localization
.
conf
--
localization_config_file
=/
apollo
/
modules
/
localization
/
conf
/
navi_localization_config
.
pb
.
txt
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
localization
.
out
[
program
:
control
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
control
/
control
--
flagfile
=/
apollo
/
modules
/
control
/
conf
/
control
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
control
.
out
[
program
:
planning
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
planning
/
planning
--
flagfile
=/
apollo
/
modules
/
planning
/
conf
/
planning
.
conf
--
stderrthreshold
=
3
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
planning
.
out
[
program
:
navigation_planning
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
planning
/
planning
--
flagfile
=/
apollo
/
modules
/
planning
/
conf
/
planning_navi
.
conf
--
stderrthreshold
=
3
--
use_navigation_mode
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
planning
.
out
[
program
:
routing
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
routing
/
routing
--
flagfile
=/
apollo
/
modules
/
routing
/
conf
/
routing
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
routing
.
out
[
program
:
prediction
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
prediction
/
prediction
--
flagfile
=/
apollo
/
modules
/
prediction
/
conf
/
prediction
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
prediction
.
out
[
program
:
navigation_prediction
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
prediction
/
prediction
--
flagfile
=/
apollo
/
modules
/
prediction
/
conf
/
prediction_navi
.
conf
--
log_dir
=/
apollo
/
data
/
log
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
prediction
.
out
[
program
:
perception
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
perception
/
perception
--
flagfile
=/
apollo
/
modules
/
perception
/
conf
/
perception
.
conf
--
stderrthreshold
=
3
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
perception
.
out
[
program
:
navigation_perception
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
perception
/
perception
--
flagfile
=/
apollo
/
modules
/
perception
/
conf
/
perception_lowcost
.
conf
--
stderrthreshold
=
3
--
use_navigation_mode
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
perception
.
out
[
program
:
third_party_perception
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
third_party_perception
/
third_party_perception
--
flagfile
=/
apollo
/
modules
/
third_party_perception
/
conf
/
third_party_perception
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
third_party_perception
.
out
[
program
:
navigation_control
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
control
/
control
--
flagfile
=/
apollo
/
modules
/
control
/
conf
/
control
.
conf
--
control_conf_file
=/
apollo
/
modules
/
control
/
conf
/
navigation_lincoln
.
pb
.
txt
--
use_navigation_mode
=
true
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
navigation_control
.
out
[
program
:
navigation_server
]
command
=
python
/
apollo
/
modules
/
tools
/
navigation
/
simulator
/
navigation_view_backend
.
py
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
navigation_server
.
out
[
program
:
navigation_routing
]
command
=
python
/
apollo
/
modules
/
tools
/
navigation
/
routing
/
navigation_routing
.
py
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
navigation_routing
.
out
[
program
:
open_api
]
command
=/
apollo
/
bazel
-
bin
/
modules
/
open_api
/
open_api
--
flagfile
=/
apollo
/
modules
/
open_api
/
conf
/
open_api
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
open_api
.
out
;
The
sample
eventlistener
section
below
shows
all
possible
eventlistener
;
subsection
values
.
Create
one
or
more
'real'
eventlistener
:
sections
to
be
;
able
to
handle
event
notifications
sent
by
supervisord
.
;[
eventlistener
:
theeventlistenername
]
;
command
=/
bin
/
eventlistener
;
the
program
(
relative
uses
PATH
,
can
take
args
)
;
process_name
=%(
program_name
)
s
;
process_name
expr
(
default
%(
program_name
)
s
)
;
numprocs
=
1
;
number
of
processes
copies
to
start
(
def
1
)
;
events
=
EVENT
;
event
notif
.
types
to
subscribe
to
(
req
'
d
)
;
buffer_size
=
10
;
event
buffer
queue
size
(
default
10
)
;
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
-
1
)
;
autostart
=
true
;
start
at
supervisord
start
(
default
:
true
)
;
startsecs
=
1
;
# of secs prog must stay up to be running (def. 1)
;
startretries
=
3
;
max
# of serial start failures when starting (default 3)
;
autorestart
=
unexpected
;
autorestart
if
exited
after
running
(
def
:
unexpected
)
;
exitcodes
=
0
,
2
;
'expected'
exit
codes
used
with
autorestart
(
default
0
,
2
)
;
stopsignal
=
QUIT
;
signal
used
to
kill
process
(
default
TERM
)
;
stopwaitsecs
=
10
;
max
num
secs
to
wait
b4
SIGKILL
(
default
10
)
;
stopasgroup
=
false
;
send
stop
signal
to
the
UNIX
process
group
(
default
false
)
;
killasgroup
=
false
;
SIGKILL
the
UNIX
process
group
(
def
false
)
;
user
=
chrism
;
setuid
to
this
UNIX
account
to
run
the
program
;
redirect_stderr
=
false
;
redirect_stderr
=
true
is
not
allowed
for
eventlisteners
;
stdout_logfile
=/
a
/
path
;
stdout
log
path
,
NONE
for
none
;
default
AUTO
;
stdout_logfile_maxbytes
=
1
MB
;
max
# logfile bytes b4 rotation (default 50MB)
;
stdout_logfile_backups
=
10
;
# of stdout logfile backups (0 means none, default 10)
;
stdout_events_enabled
=
false
;
emit
events
on
stdout
writes
(
default
false
)
;
stderr_logfile
=/
a
/
path
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
;
stderr_logfile_maxbytes
=
1
MB
;
max
# logfile bytes b4 rotation (default 50MB)
;
stderr_logfile_backups
=
10
;
# of stderr logfile backups (0 means none, default 10)
;
stderr_events_enabled
=
false
;
emit
events
on
stderr
writes
(
default
false
)
;
environment
=
A
=
"1"
,
B
=
"2"
;
process
environment
additions
;
serverurl
=
AUTO
;
override
serverurl
computation
(
childutils
)
;
The
sample
group
section
below
shows
all
possible
group
values
.
Create
one
;
or
more
'real'
group
:
sections
to
create
"heterogeneous"
process
groups
.
;[
group
:
thegroupname
]
;
programs
=
progname1
,
progname2
;
each
refers
to
'x'
in
[
program
:
x
]
definitions
;
priority
=
999
;
the
relative
start
priority
(
default
999
)
;
The
[
include
]
section
can
just
contain
the
"files"
setting
.
This
;
setting
can
list
multiple
files
(
separated
by
whitespace
or
;
newlines
).
It
can
also
contain
wildcards
.
The
filenames
are
;
interpreted
as
relative
to
this
file
.
Included
files
*
cannot
*
;
include
files
themselves
.
;[
include
]
;
files
=
relative
/
directory
/*.
ini
modules/tools/supervisord/release.conf
已删除
100644 → 0
浏览文件 @
e0a4152c
;
install
supervisor
by
command
;
sudo
pip
install
supervisor
;
start
with
command
;
cd
/
apollo
;
supervisord
-
c
tools
/
supervisord
.
conf
;
stop
with
command
;
sudo
unlink
/
tmp
/
supervisord
.
sock
;
Sample
supervisor
config
file
.
;
;
For
more
information
on
the
config
file
,
please
see
:
;
http
://
supervisord
.
org
/
configuration
.
html
;
;
Notes
:
; -
Shell
expansion
(
"~"
or
"$HOME"
)
is
not
supported
.
Environment
;
variables
can
be
expanded
using
this
syntax
:
"%(ENV_HOME)s"
.
; -
Quotes
around
values
are
not
supported
,
except
in
the
case
of
;
the
environment
=
options
as
shown
below
.
; -
Comments
must
have
a
leading
space
:
"a=b ;comment"
not
"a=b;comment"
.
; -
Command
will
be
truncated
if
it
looks
like
a
config
file
comment
,
e
.
g
.
;
"command=bash -c 'foo ; bar'"
will
truncate
to
"command=bash -c 'foo "
.
[
unix_http_server
]
file
=/
tmp
/
supervisor
.
sock
;
the
path
to
the
socket
file
;
chmod
=
0700
;
socket
file
mode
(
default
0700
)
;
chown
=
nobody
:
nogroup
;
socket
file
uid
:
gid
owner
;
username
=
user
;
default
is
no
username
(
open
server
)
;
password
=
123
;
default
is
no
password
(
open
server
)
;[
inet_http_server
] ;
inet
(
TCP
)
server
disabled
by
default
;
port
=
127
.
0
.
0
.
1
:
9001
;
ip_address
:
port
specifier
, *:
port
for
all
iface
;
username
=
user
;
default
is
no
username
(
open
server
)
;
password
=
123
;
default
is
no
password
(
open
server
)
[
supervisord
]
logfile
=/
tmp
/
supervisord
.
log
;
main
log
file
;
default
$
CWD
/
supervisord
.
log
logfile_maxbytes
=
50
MB
;
max
main
logfile
bytes
b4
rotation
;
default
50
MB
logfile_backups
=
10
;
# of main logfile backups; 0 means none, default 10
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
minfds
=
1024
;
min
.
avail
startup
file
descriptors
;
default
1024
minprocs
=
200
;
min
.
avail
process
descriptors
;
default
200
;
umask
=
022
;
process
file
creation
umask
;
default
022
;
user
=
chrism
;
default
is
current
user
,
required
if
root
;
identifier
=
supervisor
;
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
rpcinterface
:
supervisor
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
:
x
]
sections
.
[
rpcinterface
:
supervisor
]
supervisor
.
rpcinterface_factory
=
supervisor
.
rpcinterface
:
make_main_rpcinterface
;
The
supervisorctl
section
configures
how
supervisorctl
will
connect
to
;
supervisord
.
configure
it
match
the
settings
in
either
the
unix_http_server
;
or
inet_http_server
section
.
[
supervisorctl
]
serverurl
=
unix
:///
tmp
/
supervisor
.
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
=
chris
;
should
be
same
as
in
[*
_
http_server
]
if
set
;
password
=
123
;
should
be
same
as
in
[*
_
http_server
]
if
set
;
prompt
=
mysupervisor
;
cmd
line
prompt
(
default
"supervisor"
)
;
history_file
=~/.
sc_history
;
use
readline
history
if
available
;
The
sample
program
section
below
shows
all
possible
program
subsection
values
.
;
Create
one
or
more
'real'
program
:
sections
to
be
able
to
control
them
under
;
supervisor
.
;[
program
:
theprogramname
]
;
command
=/
bin
/
cat
;
the
program
(
relative
uses
PATH
,
can
take
args
)
;
process_name
=%(
program_name
)
s
;
process_name
expr
(
default
%(
program_name
)
s
)
;
numprocs
=
1
;
number
of
processes
copies
to
start
(
def
1
)
;
directory
=/
tmp
;
directory
to
cwd
to
before
exec
(
def
no
cwd
)
;
umask
=
022
;
umask
for
process
(
default
None
)
;
priority
=
999
;
the
relative
start
priority
(
default
999
)
;
autostart
=
true
;
start
at
supervisord
start
(
default
:
true
)
;
startsecs
=
1
;
# of secs prog must stay up to be running (def. 1)
;
startretries
=
3
;
max
# of serial start failures when starting (default 3)
;
autorestart
=
unexpected
;
when
to
restart
if
exited
after
running
(
def
:
unexpected
)
;
exitcodes
=
0
,
2
;
'expected'
exit
codes
used
with
autorestart
(
default
0
,
2
)
;
stopsignal
=
QUIT
;
signal
used
to
kill
process
(
default
TERM
)
;
stopwaitsecs
=
10
;
max
num
secs
to
wait
b4
SIGKILL
(
default
10
)
;
stopasgroup
=
false
;
send
stop
signal
to
the
UNIX
process
group
(
default
false
)
;
killasgroup
=
false
;
SIGKILL
the
UNIX
process
group
(
def
false
)
;
user
=
chrism
;
setuid
to
this
UNIX
account
to
run
the
program
;
redirect_stderr
=
true
;
redirect
proc
stderr
to
stdout
(
default
false
)
;
stdout_logfile
=/
a
/
path
;
stdout
log
path
,
NONE
for
none
;
default
AUTO
;
stdout_logfile_maxbytes
=
1
MB
;
max
# logfile bytes b4 rotation (default 50MB)
;
stdout_logfile_backups
=
10
;
# of stdout logfile backups (0 means none, default 10)
;
stdout_capture_maxbytes
=
1
MB
;
number
of
bytes
in
'capturemode'
(
default
0
)
;
stdout_events_enabled
=
false
;
emit
events
on
stdout
writes
(
default
false
)
;
stderr_logfile
=/
a
/
path
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
;
stderr_logfile_maxbytes
=
1
MB
;
max
# logfile bytes b4 rotation (default 50MB)
;
stderr_logfile_backups
=
10
;
# of stderr logfile backups (0 means none, default 10)
;
stderr_capture_maxbytes
=
1
MB
;
number
of
bytes
in
'capturemode'
(
default
0
)
;
stderr_events_enabled
=
false
;
emit
events
on
stderr
writes
(
default
false
)
;
environment
=
A
=
"1"
,
B
=
"2"
;
process
environment
additions
(
def
no
adds
)
;
serverurl
=
AUTO
;
override
serverurl
computation
(
childutils
)
[
program
:
dreamview
]
command
=/
apollo
/
modules
/
dreamview
/
dreamview
--
flagfile
=/
apollo
/
modules
/
dreamview
/
conf
/
dreamview
.
conf
--
prod_mode
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
dreamview
.
out
[
program
:
monitor
]
command
=/
apollo
/
modules
/
monitor
/
monitor
--
flagfile
=/
apollo
/
modules
/
monitor
/
conf
/
monitor
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
monitor
.
out
[
program
:
gps
]
directory
=/
apollo
/
command
=/
apollo
/
modules
/
drivers
/
gnss
/
gnss
--
flagfile
=/
apollo
/
modules
/
drivers
/
gnss
/
conf
/
gnss
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
gnss
.
out
[
program
:
conti_radar
]
command
=/
apollo
/
modules
/
drivers
/
radar
/
conti_radar
/
conti_radar
--
flagfile
=/
apollo
/
modules
/
drivers
/
radar
/
conti_radar
/
conf
/
conti_radar
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
conti_radar
.
out
[
program
:
mobileye
]
command
=/
apollo
/
modules
/
drivers
/
mobileye
/
mobileye
--
flagfile
=/
apollo
/
modules
/
drivers
/
mobileye
/
conf
/
mobileye
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
mobileye
.
out
[
program
:
canbus
]
command
=/
apollo
/
modules
/
canbus
/
canbus
--
flagfile
=/
apollo
/
modules
/
canbus
/
conf
/
canbus
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
canbus
.
out
[
program
:
localization
]
command
=/
apollo
/
modules
/
localization
/
localization
--
flagfile
=/
apollo
/
modules
/
localization
/
conf
/
localization
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
localization
.
out
[
program
:
control
]
command
=/
apollo
/
modules
/
control
/
control
--
flagfile
=/
apollo
/
modules
/
control
/
conf
/
control
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
control
.
out
[
program
:
planning
]
command
=/
apollo
/
modules
/
planning
/
planning
--
flagfile
=/
apollo
/
modules
/
planning
/
conf
/
planning
.
conf
--
stderrthreshold
=
3
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
planning
.
out
[
program
:
navigation_planning
]
command
=/
apollo
/
modules
/
planning
/
planning
--
flagfile
=/
apollo
/
modules
/
planning
/
conf
/
planning_navi
.
conf
--
stderrthreshold
=
3
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
planning
.
out
[
program
:
routing
]
command
=/
apollo
/
modules
/
routing
/
routing
--
flagfile
=/
apollo
/
modules
/
routing
/
conf
/
routing
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
routing
.
out
[
program
:
prediction
]
command
=/
apollo
/
modules
/
prediction
/
prediction
--
flagfile
=/
apollo
/
modules
/
prediction
/
conf
/
prediction
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
prediction
.
out
[
program
:
navigation_prediction
]
command
=/
apollo
/
modules
/
prediction
/
prediction
--
flagfile
=/
apollo
/
modules
/
prediction
/
conf
/
prediction_navi
.
conf
--
log_dir
=/
apollo
/
data
/
log
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
prediction
.
out
[
program
:
perception
]
command
=/
apollo
/
modules
/
perception
/
perception
--
flagfile
=/
apollo
/
modules
/
perception
/
conf
/
perception
.
conf
--
stderrthreshold
=
3
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
perception
.
out
[
program
:
third_party_perception
]
command
=/
apollo
/
modules
/
third_party_perception
/
third_party_perception
--
flagfile
=/
apollo
/
modules
/
third_party_perception
/
conf
/
third_party_perception
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
third_party_perception
.
out
[
program
:
navigation_perception
]
command
=/
apollo
/
modules
/
perception
/
perception
--
flagfile
=/
apollo
/
modules
/
perception
/
conf
/
perception_lowcost
.
conf
--
stderrthreshold
=
3
--
use_navigation_mode
=
true
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
perception
.
out
[
program
:
navigation_localization
]
command
=/
apollo
/
modules
/
localization
/
localization
--
flagfile
=/
apollo
/
modules
/
localization
/
conf
/
localization
.
conf
--
localization_config_file
=/
apollo
/
modules
/
localization
/
conf
/
navi_localization_config
.
pb
.
txt
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
localization
.
out
[
program
:
navigation_control
]
command
=/
apollo
/
modules
/
control
/
control
--
flagfile
=/
apollo
/
modules
/
control
/
conf
/
control
.
conf
--
control_conf_file
=/
apollo
/
modules
/
control
/
conf
/
navigation_lincoln
.
pb
.
txt
--
use_navigation_mode
=
true
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
navigation_control
.
out
[
program
:
navigation_server
]
command
=
python
/
apollo
/
modules
/
tools
/
navigation
/
simulator
/
navigation_view_backend
.
py
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
navigation_server
.
out
[
program
:
navigation_routing
]
command
=
python
/
apollo
/
modules
/
tools
/
navigation
/
routing
/
navigation_routing
.
py
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
navigation_routing
.
out
[
program
:
open_api
]
command
=/
apollo
/
modules
/
open_api
/
open_api
--
flagfile
=/
apollo
/
modules
/
open_api
/
conf
/
open_api
.
conf
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
KILL
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=/
apollo
/
data
/
log
/
open_api
.
out
;
The
sample
eventlistener
section
below
shows
all
possible
eventlistener
;
subsection
values
.
Create
one
or
more
'real'
eventlistener
:
sections
to
be
;
able
to
handle
event
notifications
sent
by
supervisord
.
;[
eventlistener
:
theeventlistenername
]
;
command
=/
bin
/
eventlistener
;
the
program
(
relative
uses
PATH
,
can
take
args
)
;
process_name
=%(
program_name
)
s
;
process_name
expr
(
default
%(
program_name
)
s
)
;
numprocs
=
1
;
number
of
processes
copies
to
start
(
def
1
)
;
events
=
EVENT
;
event
notif
.
types
to
subscribe
to
(
req
'
d
)
;
buffer_size
=
10
;
event
buffer
queue
size
(
default
10
)
;
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
-
1
)
;
autostart
=
true
;
start
at
supervisord
start
(
default
:
true
)
;
startsecs
=
1
;
# of secs prog must stay up to be running (def. 1)
;
startretries
=
3
;
max
# of serial start failures when starting (default 3)
;
autorestart
=
unexpected
;
autorestart
if
exited
after
running
(
def
:
unexpected
)
;
exitcodes
=
0
,
2
;
'expected'
exit
codes
used
with
autorestart
(
default
0
,
2
)
;
stopsignal
=
QUIT
;
signal
used
to
kill
process
(
default
TERM
)
;
stopwaitsecs
=
10
;
max
num
secs
to
wait
b4
SIGKILL
(
default
10
)
;
stopasgroup
=
false
;
send
stop
signal
to
the
UNIX
process
group
(
default
false
)
;
killasgroup
=
false
;
SIGKILL
the
UNIX
process
group
(
def
false
)
;
user
=
chrism
;
setuid
to
this
UNIX
account
to
run
the
program
;
redirect_stderr
=
false
;
redirect_stderr
=
true
is
not
allowed
for
eventlisteners
;
stdout_logfile
=/
a
/
path
;
stdout
log
path
,
NONE
for
none
;
default
AUTO
;
stdout_logfile_maxbytes
=
1
MB
;
max
# logfile bytes b4 rotation (default 50MB)
;
stdout_logfile_backups
=
10
;
# of stdout logfile backups (0 means none, default 10)
;
stdout_events_enabled
=
false
;
emit
events
on
stdout
writes
(
default
false
)
;
stderr_logfile
=/
a
/
path
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
;
stderr_logfile_maxbytes
=
1
MB
;
max
# logfile bytes b4 rotation (default 50MB)
;
stderr_logfile_backups
=
10
;
# of stderr logfile backups (0 means none, default 10)
;
stderr_events_enabled
=
false
;
emit
events
on
stderr
writes
(
default
false
)
;
environment
=
A
=
"1"
,
B
=
"2"
;
process
environment
additions
;
serverurl
=
AUTO
;
override
serverurl
computation
(
childutils
)
;
The
sample
group
section
below
shows
all
possible
group
values
.
Create
one
;
or
more
'real'
group
:
sections
to
create
"heterogeneous"
process
groups
.
;[
group
:
thegroupname
]
;
programs
=
progname1
,
progname2
;
each
refers
to
'x'
in
[
program
:
x
]
definitions
;
priority
=
999
;
the
relative
start
priority
(
default
999
)
;
The
[
include
]
section
can
just
contain
the
"files"
setting
.
This
;
setting
can
list
multiple
files
(
separated
by
whitespace
or
;
newlines
).
It
can
also
contain
wildcards
.
The
filenames
are
;
interpreted
as
relative
to
this
file
.
Included
files
*
cannot
*
;
include
files
themselves
.
;[
include
]
;
files
=
relative
/
directory
/*.
ini
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录