- fix httpd.service.d creation

This commit is contained in:
Joe Orton 2023-07-05 12:25:22 +01:00
parent 625e0ea487
commit e2a22401ed

View File

@ -433,8 +433,8 @@ touch -r $RPM_SOURCE_DIR/00-mpm.conf \
# Web application packages can drop snippets into this location if # Web application packages can drop snippets into this location if
# they need ExecStart[pre|post]. # they need ExecStart[pre|post].
mkdir $RPM_BUILD_ROOT%{_unitdir}/httpd.service.d \ mkdir $RPM_BUILD_ROOT%{_unitdir}/httpd.service.d \
$RPM_BUILD_ROOT%{_unitdir}/httpd.socket.d \ $RPM_BUILD_ROOT%{_unitdir}/httpd.socket.d
$RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/httpd.service.d mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/httpd.service.d
install -m 644 -p $RPM_SOURCE_DIR/10-listen443.conf \ install -m 644 -p $RPM_SOURCE_DIR/10-listen443.conf \
$RPM_BUILD_ROOT%{_unitdir}/httpd.socket.d/10-listen443.conf $RPM_BUILD_ROOT%{_unitdir}/httpd.socket.d/10-listen443.conf