Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
km3mon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
km3py
km3mon
Commits
2e5ec5e5
Commit
2e5ec5e5
authored
5 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Add supervisord.conf
parent
71f8dd64
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
supervisord.conf
+121
-0
121 additions, 0 deletions
supervisord.conf
with
121 additions
and
0 deletions
supervisord.conf
0 → 100644
+
121
−
0
View file @
2e5ec5e5
;
The
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
=
logs
/
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
=
pids
/
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
=
supervisord
;
setuid
to
this
UNIX
account
at
startup
;
recommended
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
[
program
:
webserver
]
command
=
gunicorn
--
pid
gunicorn
.
pid
-
w
4
-
b
0
.
0
.
0
.
0
:%(
ENV_WEBSERVER_PORT
)
s
km3mon
:
app
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
;
stdout
log
path
,
NONE
for
none
;
default
AUTO
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
[
program
:
monitoring_ligier
]
command
=
cat
priority
=
1
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
;
stdout
log
path
,
NONE
for
none
;
default
AUTO
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
[
program
:
ligier_mirror
]
command
=
cat
priority
=
10
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
;
stdout
log
path
,
NONE
for
none
;
default
AUTO
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
[
program
:
ahrs_calibration
]
command
=
python
scripts
/
ahrs_calibration
.
py
;
the
program
(
relative
uses
PATH
,
can
take
args
)
;
process_name
=%(
program_name
)
s
;
process_name
expr
(
default
%(
program_name
)
s
)
directory
=. ;
directory
to
cwd
to
before
exec
(
def
no
cwd
)
;
priority
=
999
;
the
relative
start
priority
(
default
999
)
;
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
)
;
redirect_stderr
=
true
;
redirect
proc
stderr
to
stdout
(
default
false
)
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
;
stdout
log
path
,
NONE
for
none
;
default
AUTO
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
[
program
:
dom_activity
]
command
=
python
scripts
/
dom_activity
.
py
;
the
program
(
relative
uses
PATH
,
can
take
args
)
directory
=. ;
directory
to
cwd
to
before
exec
(
def
no
cwd
)
;
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
)
;
redirect_stderr
=
true
;
redirect
proc
stderr
to
stdout
(
default
false
)
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
;
stdout
log
path
,
NONE
for
none
;
default
AUTO
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
[
group
:
monitoring_processes
]
programs
=
ahrs_calibration
,
dom_activity
priority
=
999
[
group
:
ligiers
]
programs
=
monitoring_ligier
,
ligier_mirror
priority
=
1
;
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment