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
2a2da1a6
Commit
2a2da1a6
authored
2 years ago
by
Julien Leduc
Browse files
Options
Downloads
Patches
Plain Diff
Move back config file rpmsave is the original configfile is missing for the 4...
parent
8aa04ad3
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
cta.spec.in
+28
-0
28 additions, 0 deletions
cta.spec.in
with
28 additions
and
0 deletions
cta.spec.in
+
28
−
0
View file @
2a2da1a6
...
...
@@ -179,6 +179,13 @@ The xroot plugin
%systemd_post cta-frontend.service
%systemdDaemonReload
%posttrans -n cta-frontend
MISSING_CONF=%{_sysconfdir}/cta/cta-frontend-xrootd.conf
if [[ ! -f "${MISSING_CONF}" ]] && [[ -f "${MISSING_CONF}.rpmsave" ]]
then
mv ${MISSING_CONF}.rpmsave ${MISSING_CONF}
fi
%package -n cta-frontend-grpc
Summary: CERN Tape Archive: gRPC based frontend
Group: Application/CTA
...
...
@@ -227,6 +234,13 @@ The command line utilities
%attr(0755,root,root) %{_bindir}/cta-verify-file
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-cli.conf.example
%posttrans -n cta-cli
MISSING_CONF=%{_sysconfdir}/cta/cta-cli.conf
if [[ ! -f "${MISSING_CONF}" ]] && [[ -f "${MISSING_CONF}.rpmsave" ]]
then
mv ${MISSING_CONF}.rpmsave ${MISSING_CONF}
fi
%package -n cta-lib-common
Summary: CERN Tape Archive libraries
Group: Application/CTA
...
...
@@ -430,6 +444,13 @@ The Remote Media Changer daemon (rmcd)
%systemd_postun cta-rmcd.service
%systemdDaemonReload
%posttrans -n cta-rmcd
MISSING_CONF=%{_sysconfdir}/cta/cta-rmcd.conf
if [[ ! -f "${MISSING_CONF}" ]] && [[ -f "${MISSING_CONF}.rpmsave" ]]
then
mv ${MISSING_CONF}.rpmsave ${MISSING_CONF}
fi
%package -n cta-smc
Summary: The client of the Remote Media Changer Daemon (rmcd)
Group: Application/CTA
...
...
@@ -441,6 +462,13 @@ The client of the Remote Media Changer Daemon (rmcd)
%attr(0755,root,root) %{_bindir}/cta-smc
%attr(0644,root,root) %doc /usr/share/man/man1/cta-smc.1cta.gz
%posttrans -n cta-smc
MISSING_CONF=%{_sysconfdir}/cta/cta-smc.conf
if [[ ! -f "${MISSING_CONF}" ]] && [[ -f "${MISSING_CONF}.rpmsave" ]]
then
mv ${MISSING_CONF}.rpmsave ${MISSING_CONF}
fi
%package -n cta-tape-label
Summary: The command-line tool for pre-labelling a CTA tape.
Group: Application/CTA
...
...
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