-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sage Weil <[email protected]>
- Loading branch information
Showing
1 changed file
with
7 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -553,6 +553,9 @@ install -D src/init-rbdmap $RPM_BUILD_ROOT%{_initrddir}/rbdmap | |
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected] | ||
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected] | ||
install -m 0644 -D systemd/ceph.target $RPM_BUILD_ROOT%{_unitdir}/ceph.target | ||
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected] | ||
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected] | ||
install -m 0644 -D systemd/[email protected] $RPM_BUILD_ROOT%{_unitdir}/[email protected] | ||
%else | ||
install -D src/init-ceph $RPM_BUILD_ROOT%{_initrddir}/ceph | ||
install -D src/init-radosgw $RPM_BUILD_ROOT%{_initrddir}/ceph-radosgw | ||
|
@@ -638,7 +641,7 @@ mkdir -p %{_localstatedir}/run/ceph/ | |
# /etc/systemd/system. May as well stop them too for completeness | ||
# (although strictly service_del_preun would do that anyway by dint | ||
# of stopping ceph.target) | ||
SERVICE_LIST=$(systemctl | grep -E '^ceph-mon@|^ceph-create-keys@|^ceph-osd@|^ceph-mds@' | cut -d' ' -f1) | ||
SERVICE_LIST=$(systemctl | grep -E '^ceph-mon@|^ceph-create-keys@|^ceph-osd@|^ceph-mds@|^ceph-disk-' | cut -d' ' -f1) | ||
if [ -n "$SERVICE_LIST" ]; then | ||
for SERVICE in $SERVICE_LIST; do | ||
/usr/bin/systemctl --no-reload disable $SERVICE > /dev/null 2>&1 || : | ||
|
@@ -700,6 +703,9 @@ mkdir -p %{_localstatedir}/run/ceph/ | |
%{_unitdir}/[email protected] | ||
%{_unitdir}/[email protected] | ||
%{_unitdir}/[email protected] | ||
%{_unitdir}/[email protected] | ||
%{_unitdir}/[email protected] | ||
%{_unitdir}/[email protected] | ||
%{_unitdir}/ceph.target | ||
%else | ||
%{_initrddir}/ceph | ||
|