From d058a6d6f6ed3501805c04c76db8d32db19497a4 Mon Sep 17 00:00:00 2001 From: treydock Date: Mon, 25 Oct 2021 11:44:42 -0400 Subject: [PATCH] Add tmpfiles.d file for ondemand-nginx (Release 2.0) (#1501) Fixes #1490 --- packaging/ondemand.spec | 7 +++++++ 1 file changed, 7 insertions(+) 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}/*