Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ecl_epics_envmon
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Mikhail Remnev
ecl_epics_envmon
Commits
144d6279
Commit
144d6279
authored
1 year ago
by
Mikhail Remnev
Browse files
Options
Downloads
Patches
Plain Diff
Added a script to start the CA server
parent
7655a8ed
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
01_start.sh
+29
-0
29 additions, 0 deletions
01_start.sh
setenv.sh
+0
-5
0 additions, 5 deletions
setenv.sh
with
29 additions
and
5 deletions
01_start.sh
0 → 100644
+
29
−
0
View file @
144d6279
#!/bin/bash
# Go to script directory
cd
"
`
dirname
$0
`
"
script_name
=
"ecl_epics_envmon.py"
# Set up daq_slc
prev_pwd
=
"
$PWD
"
cd
~/daq_slc
;
source
setenv
cd
"
$prev_pwd
"
# b2epics
export
EPICS_CA_ADDR_LIST
=
"172.22.63.255"
pkill
-f
"
$script_name
"
exec
2>&1
(
# Add timestamps, output to log.txt
exec
2>&1
>
>(
while
read
line
;
do
date
+
"[%Y-%m-%d %H:%M:%S]
$line
"
>>
log.txt
done
)
python
"
$script_name
"
)
&
disown
This diff is collapsed.
Click to expand it.
setenv.sh
deleted
100644 → 0
+
0
−
5
View file @
7655a8ed
export
EPICS_BASE
=
"/cvmfs/daq_slc.daqnet.kek.jp/sl6/latest/externals/epics/"
export
EPICS_HOST_ARCH
=
"linux-
`
uname
-m
`
"
export
PATH
=
"
$EPICS_BASE
/bin/
$EPICS_HOST_ARCH
:
$PATH
"
export
LD_LIBRARY_PATH
=
"
$EPICS_BASE
/lib/
$EPICS_HOST_ARCH
:
$LD_LIBRARY_PATH
"
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