diff --git a/packaging/ondemand.spec b/packaging/ondemand.spec index 006a0dc3df..f2e274a42a 100644 --- a/packaging/ondemand.spec +++ b/packaging/ondemand.spec @@ -211,6 +211,12 @@ EOF } EOF +%__mkdir_p %{buildroot}%{_tmpfilesdir} +%__cat >> %{buildroot}%{_tmpfilesdir}/ondemand-nginx.conf <> %{buildroot}%{_sysconfdir}/systemd/system/%{apache_service}.service.d/ood.conf << EOF [Service] @@ -358,6 +364,7 @@ fi %ghost %{apache_confd}/ood-portal.conf %config(noreplace) %{_sysconfdir}/systemd/system/%{apache_service}.service.d/ood.conf %config(noreplace,missingok) %{_sysconfdir}/systemd/system/%{apache_service}.service.d/ood-portal.conf +%{_tmpfilesdir}/ondemand-nginx.conf %files -n %{gems_name} %{gem_home}/*