-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from brianhlin/systemctl-daemon-reload
Add systemctl daemon-reload to %post sections
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ Obsoletes: stashcache-daemon < 1.0.0 | |
%{summary} | ||
|
||
%post | ||
/bin/systemctl daemon-reload >/dev/null 2>&1 || : | ||
%systemd_post xcache-reporter.service xcache-reporter.timer xrootd-renew-proxy.service xrootd-renew-proxy.timer | ||
%preun | ||
%systemd_preun xcache-reporter.service xcache-reporter.timer xrootd-renew-proxy.service xrootd-renew-proxy.timer | ||
|
@@ -54,6 +55,7 @@ Obsoletes: stashcache-origin-server < 1.0.0 | |
%{summary} | ||
|
||
%post -n stash-origin | ||
/bin/systemctl daemon-reload >/dev/null 2>&1 || : | ||
%systemd_post [email protected] [email protected] | ||
%preun -n stash-origin | ||
%systemd_preun [email protected] [email protected] | ||
|
@@ -77,6 +79,7 @@ Obsoletes: stashcache-cache-server-auth < 1.0.0 | |
%{summary} | ||
|
||
%post -n stash-cache | ||
/bin/systemctl daemon-reload >/dev/null 2>&1 || : | ||
%systemd_post [email protected] stash-cache-authfile.service stash-cache-authfile.timer [email protected] | ||
%preun -n stash-cache | ||
%systemd_preun [email protected] stash-cache-authfile.service stash-cache-authfile.timer [email protected] | ||
|
@@ -95,6 +98,7 @@ Requires: xrootd-rucioN2N-for-Xcache | |
%{summary} | ||
|
||
%post -n atlas-xcache | ||
/bin/systemctl daemon-reload >/dev/null 2>&1 || : | ||
%systemd_post [email protected] | ||
%preun -n atlas-xcache | ||
%systemd_preun [email protected] | ||
|
@@ -111,6 +115,7 @@ Requires: xrootd-lcmaps >= 1.5.1 | |
%description -n cms-xcache | ||
%{summary} | ||
%post -n cms-xcache | ||
/bin/systemctl daemon-reload >/dev/null 2>&1 || : | ||
%systemd_post [email protected] [email protected] | ||
%preun -n cms-xcache | ||
%systemd_preun [email protected] [email protected] | ||
|
@@ -124,6 +129,7 @@ Requires: %{name} = %{version} | |
%description -n xcache-redirector | ||
%{summary} | ||
%post -n xcache-redirector | ||
/bin/systemctl daemon-reload >/dev/null 2>&1 || : | ||
%systemd_post [email protected] [email protected] | ||
%preun -n xcache-redirector | ||
%systemd_preun [email protected] [email protected] | ||
|