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
0aacb102
Commit
0aacb102
authored
7 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup
parent
12d03c5b
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
Makefile.in
+24
-6
24 additions, 6 deletions
Makefile.in
with
24 additions
and
6 deletions
Makefile.in
+
24
−
6
View file @
0aacb102
...
...
@@ -4,30 +4,48 @@ STANDARD_TAGS := "IO_EVT, IO_SUM, IO_TSL, IO_TSL0, IO_TSL1, IO_TSL2, IO_TSSN, MS
default
:
start
start
:
@
echo
Creating tmux session
@
echo
Creating tmux session
...
@tmux
new-session
-d
-s
${SESSION_NAME}
\
||
(echo
Please
run
\"make
stop\"
to
close
the
current
session.;
exit
1)
@tmux rename-window -t ${SESSION_NAME}
:
1 main
@
tmux split-window
-v
-t
${
SESSION_NAME
}
:main
@
tmux split-window
-v
-t
${
SESSION_NAME
}
:main
@echo
Launching
our
own
ligier
@
#
@tmux send-keys -t ${SESSION_NAME}
:
main.1
\
"JLigier -d2 -P ${MONITORING_LIGIER_PORT}" Enter
@sleep
1
# wait a second for JLigier
# T
he ligier mirror
@
tmux split-window -v -t ${SESSION_NAME}
:
main
@echo
Setting
up
t
he
ligier
mirror
@
#
@tmux send-keys -t ${SESSION_NAME}
:
main.2
\
"ligiermirror -m
\"
${STANDARD_TAGS}
\"
"
\
" -q ${MONITORING_LIGIER_PORT}"
\
" -p ${DAQ_LIGIER_PORT} ${DAQ_LIGIER_IP}"
\
Enter
# The web server
@tmux split-window -v -t ${SESSION_NAME}
:
main
@
echo
Starting the web server on 0.0.0.0:
${
WEBSERVER_PORT
}
@
#
@
tmux send-keys
-t
${
SESSION_NAME
}
:main.3
\
"cd www && python3 -m http.server
${
WEBSERVER_PORT
}
"
Enter
@
tmux
select
-layout
even-vertical
@echo
Starting
the
monitoring
scripts
@sleep
3
@
# DOM activity and DOM rates
@
#
@tmux
new-window
-n
doms
-t
${SESSION_NAME}
@tmux split-window -v -t ${SESSION_NAME}
:
doms
@
tmux send-keys
-t
${
SESSION_NAME
}
:doms.1
\
"python scripts/dom_activity.py"
Enter
@
tmux send-keys
-t
${
SESSION_NAME
}
:doms.2
\
"python scripts/dom_rates.py"
Enter
@
tmux
select
-layout
even-vertical
stop
:
tmux kill-session
-t
${
SESSION_NAME
}
...
...
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