-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemd: eliminate ceph-rgw tmpfiles.d file
This is for storing the rgw socket files for fastcgi, which we do not want to enable by default. Signed-off-by: Sage Weil <[email protected]>
- Loading branch information
Showing
6 changed files
with
0 additions
and
11 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 |
---|---|---|
|
@@ -52,7 +52,6 @@ missing | |
py-compile | ||
release | ||
stamp-h1 | ||
systemd/ceph-rgw.tmpfiles.d | ||
systemd/Makefile | ||
vgcore.* | ||
|
||
|
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 |
---|---|---|
|
@@ -595,7 +595,6 @@ install -D src/init-rbdmap $RPM_BUILD_ROOT%{_initrddir}/rbdmap | |
install -m 0644 -D etc/sysconfig/ceph $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ceph | ||
%if 0%{?_with_systemd} | ||
install -m 0644 -D systemd/ceph.tmpfiles.d $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf | ||
install -m 0644 -D systemd/ceph-rgw.tmpfiles.d $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}-rgw.conf | ||
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] | ||
|
@@ -916,7 +915,6 @@ fi | |
%dir %{_localstatedir}/log/radosgw/ | ||
%dir %{_localstatedir}/lib/ceph/radosgw | ||
%if 0%{?_with_systemd} | ||
%{_tmpfilesdir}/%{name}-rgw.conf | ||
%else | ||
%{_initrddir}/ceph-radosgw | ||
%{_sbindir}/rcceph-radosgw | ||
|
@@ -925,8 +923,6 @@ fi | |
%post radosgw | ||
/sbin/ldconfig | ||
%if 0%{?suse_version} | ||
# TODO: find out what exactly this systemd-tmpfiles inovcation is for | ||
systemd-tmpfiles --create /%{_tmpfilesdir}/ceph-rgw.conf | ||
# explicit systemctl daemon-reload (that's the only relevant bit of | ||
# service_add_post; the rest is all sysvinit --> systemd migration which | ||
# isn't applicable in this context (see above comment). | ||
|
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
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 |
---|---|---|
|
@@ -153,8 +153,6 @@ binary-arch: build install | |
install -d -m0755 debian/radosgw/lib/systemd/system | ||
install -m0644 systemd/[email protected] debian/radosgw/lib/systemd/system | ||
sed -i s./etc/sysconfig/./etc/default/.g debian/radosgw/lib/systemd/system/[email protected] | ||
install -d -m0755 debian/radosgw/usr/lib/tmpfiles.d | ||
install -m 0644 -D systemd/ceph-rgw.tmpfiles.d debian/radosgw/usr/lib/tmpfiles.d/ceph-rgw.conf | ||
|
||
dh_installman -a | ||
dh_lintian -a | ||
|
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 |
---|---|---|
|
@@ -15,5 +15,4 @@ EXTRA_DIST = \ | |
$(unitfiles) \ | ||
ceph \ | ||
ceph.tmpfiles.d \ | ||
ceph-rgw.tmpfiles.d.in \ | ||
ceph-radosgw-prestart.sh |
This file was deleted.
Oops, something went wrong.