Skip to content

Commit

Permalink
Add tmpfiles.d file for ondemand-nginx (Release 2.0) (#1501)
Browse files Browse the repository at this point in the history
Fixes #1490
  • Loading branch information
treydock authored Oct 25, 2021
1 parent 086e533 commit d058a6d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packaging/ondemand.spec
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ EOF
}
EOF

%__mkdir_p %{buildroot}%{_tmpfilesdir}
%__cat >> %{buildroot}%{_tmpfilesdir}/ondemand-nginx.conf <<EOF
d %{_rundir}/ondemand-nginx 0755 root root - -
Z %{_rundir}/ondemand-nginx - - - - -
EOF

%__mkdir_p %{buildroot}%{_sysconfdir}/systemd/system/%{apache_service}.service.d
%__cat >> %{buildroot}%{_sysconfdir}/systemd/system/%{apache_service}.service.d/ood.conf << EOF
[Service]
Expand Down Expand Up @@ -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}/*
Expand Down

0 comments on commit d058a6d

Please sign in to comment.