Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
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
Harbor 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
dCache
cta
Commits
02cfd56c
Commit
02cfd56c
authored
3 years ago
by
Tigran Mkrtchyan
Browse files
Options
Downloads
Patches
Plain Diff
cta-dcache: add /etc/sysconfig/cta-dcache config file
parent
d566c08c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cta-dcache/CMakeLists.txt
+2
-1
2 additions, 1 deletion
cta-dcache/CMakeLists.txt
cta-dcache/cta-dcache.service
+2
-1
2 additions, 1 deletion
cta-dcache/cta-dcache.service
cta-dcache/cta-dcache.sysconfig
+6
-0
6 additions, 0 deletions
cta-dcache/cta-dcache.sysconfig
cta.spec.in
+1
-0
1 addition, 0 deletions
cta.spec.in
with
11 additions
and
2 deletions
cta-dcache/CMakeLists.txt
+
2
−
1
View file @
02cfd56c
...
...
@@ -59,4 +59,5 @@ target_link_libraries(cta-dcache ${PROTOBUF3_LIBRARIES} ${GRPC_GRPC++_LIBRARY}
set_property
(
TARGET cta-dcache APPEND PROPERTY INSTALL_RPATH
${
PROTOBUF3_RPATH
}
)
install
(
TARGETS cta-dcache DESTINATION usr/bin
)
install
(
FILES cta-dcache.service DESTINATION etc/systemd/system
)
\ No newline at end of file
install
(
FILES cta-dcache.service DESTINATION etc/systemd/system
)
install
(
FILES cta-dcache.sysconfig DESTINATION /etc/sysconfig RENAME cta-dcache
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
cta-dcache/cta-dcache.service
+
2
−
1
View file @
02cfd56c
...
...
@@ -3,7 +3,8 @@ Description=dCache frontend for CERN Tape Archive (CTA)
After
=
syslog.target network-online.target
[Service]
ExecStart
=
/usr/bin/cta-dcache
EnvironmentFile
=
/etc/sysconfig/cta-dcache
ExecStart
=
/usr/bin/cta-dcache --no-log-header --port ${GRPC_PORT}
Type
=
simple
Restart
=
always
User
=
cta
...
...
This diff is collapsed.
Click to expand it.
cta-dcache/cta-dcache.sysconfig
0 → 100644
+
6
−
0
View file @
02cfd56c
#
# Config properties of cta-dcache
#
# port number to accept TCP connections
GRPC_PORT=17017
\ No newline at end of file
This diff is collapsed.
Click to expand it.
cta.spec.in
+
1
−
0
View file @
02cfd56c
...
...
@@ -190,6 +190,7 @@ dCache frontend
%defattr(0755,root,root)
%attr(0755,root,root) %{_bindir}/cta-dcache
%attr(0644,root,root) /etc/systemd/system/cta-dcache.service
%attr(0644,root,root) /etc/sysconfig/cta-dcache
%post -n cta-dcache
%systemd_post cta-dcache.service
...
...
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