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
0df118f1
Verified
Commit
0df118f1
authored
2 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Add explicit restart policies in supervisord.conf
parent
50f8d836
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#33766
passed
2 years ago
Stage: docker
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/supervisord.conf.example
+48
-3
48 additions, 3 deletions
backend/supervisord.conf.example
with
48 additions
and
3 deletions
backend/supervisord.conf.example
+
48
−
3
View file @
0df118f1
...
...
@@ -40,65 +40,98 @@ stderr_logfile=/logs/%(program_name)s.err.log ; stderr log path, NONE for
command=python -u scripts/ahrs_calibration.py -d %(ENV_DETECTOR_ID)s -l monitoring_ligier_1
;process_name=%(program_name)s ; process_name expr (default %(program_name)s)
;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)
startsecs=
5
; # of secs prog must stay up to be running (def. 1)
startretries=3
0
; max # of serial start failures when starting (default 3)
autorestart=
true
; 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 -u scripts/dom_activity.py -d %(ENV_DETECTOR_ID)s -l monitoring_ligier_1
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:dom_rates]
command=python -u scripts/dom_rates.py -d %(ENV_DETECTOR_ID)s -l monitoring_ligier_1
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:pmt_rates]
command=python -u scripts/pmt_rates.py -d %(ENV_DETECTOR_ID)s -l monitoring_ligier_1 -i 20 -u 1
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:trigger_rates]
command=python -u scripts/trigger_rates.py -l monitoring_ligier_1
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:triggermap]
command=python -u scripts/live_triggermap.py -d %(ENV_DETECTOR_ID)s -l monitoring_ligier_1
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:ztplot]
command=python -u scripts/ztplot.py -d %(ENV_DETECTOR_ID)s -l monitoring_ligier_1
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:time_residuals]
command=python -u scripts/time_residuals.py %(ENV_ROYFIT_TIMERES)s
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:triggeredhits]
command=python -u scripts/triggered_hits.py -d %(ENV_DETECTOR_ID)s -l monitoring_ligier_1
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:time_residuals]
command=python -u scripts/time_residuals.py /data/reco_timeres.csv
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:rttc]
command=python -u scripts/rttc.py -d %(ENV_DETECTOR_ID)s -l %(ENV_DETECTOR_MANAGER_IP)s
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:acoustics]
command=python -u scripts/acoustics.py -d %(ENV_DETECTOR_ID)s
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
...
...
@@ -109,23 +142,35 @@ stderr_logfile=/logs/%(program_name)s.err.log
[program:timesync_monitor]
command=python -u scripts/timesync_monitor.py -l monitoring_ligier_1 -m %(ENV_LOG_LIGIER_IP)s -q %(ENV_LOG_LIGIER_PORT)s
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:msg_dumper]
command=python -u scripts/msg_dumper.py -l %(ENV_LOG_LIGIER_IP)s -p %(ENV_LOG_LIGIER_PORT)s -o /logs
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
priority=200
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:log_analyser]
command=python -u scripts/log_analyser.py
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
priority=205
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
[program:chatbot]
command=python -u scripts/chatbot.py
startsecs=5 ; # of secs prog must stay up to be running (def. 1)
startretries=30 ; max # of serial start failures when starting (default 3)
autorestart=true ; when to restart if exited after running (def: unexpected)
priority=220
stdout_logfile=/logs/%(program_name)s.out.log
stderr_logfile=/logs/%(program_name)s.err.log
...
...
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