Create drop directory for systemd snippets
This commit is contained in:
parent
a035f96c4e
commit
15ab7bceeb
@ -292,6 +292,11 @@ for f in 00-base.conf 00-mpm.conf 00-lua.conf 01-cgi.conf 00-dav.conf \
|
|||||||
$RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/$f
|
$RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/$f
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# install systemd override drop directory
|
||||||
|
# Web application packages can drop snippets into this location if
|
||||||
|
# they need ExecStart[pre|post].
|
||||||
|
mkdir $RPM_BUILD_ROOT%{_unitdir}/httpd.service.d
|
||||||
|
|
||||||
for f in welcome.conf ssl.conf manual.conf userdir.conf; do
|
for f in welcome.conf ssl.conf manual.conf userdir.conf; do
|
||||||
install -m 644 -p $RPM_SOURCE_DIR/$f \
|
install -m 644 -p $RPM_SOURCE_DIR/$f \
|
||||||
$RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/$f
|
$RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/$f
|
||||||
@ -570,6 +575,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%{_unitdir}/*.service
|
%{_unitdir}/*.service
|
||||||
|
%attr(755,root,root) %dir %{_unitdir}/httpd.service.d
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -620,6 +626,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_sysconfdir}/rpm/macros.httpd
|
%{_sysconfdir}/rpm/macros.httpd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 28 2014 Stephen Gallagher <sgallagh@redhat.com> 2.4.7-5
|
||||||
|
- Create drop directory for systemd snippets
|
||||||
|
|
||||||
* Thu Feb 27 2014 Jan Kaluza <jkaluza@redhat.com> - 2.4.7-4
|
* Thu Feb 27 2014 Jan Kaluza <jkaluza@redhat.com> - 2.4.7-4
|
||||||
- remove provides of old MMN, because it contained double-dash (#1068851)
|
- remove provides of old MMN, because it contained double-dash (#1068851)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user