revert back to root owning nginx log dir
This commit is contained in:
parent
ab9c337f9b
commit
c9d5196d10
11
nginx.spec
11
nginx.spec
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: nginx
|
Name: nginx
|
||||||
Version: 0.8.53
|
Version: 0.8.53
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Robust, small and high performance HTTP and reverse proxy server
|
Summary: Robust, small and high performance HTTP and reverse proxy server
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
|
|
||||||
@ -163,6 +163,7 @@ fi
|
|||||||
%{_initrddir}/%{name}
|
%{_initrddir}/%{name}
|
||||||
%dir %{nginx_confdir}
|
%dir %{nginx_confdir}
|
||||||
%dir %{nginx_confdir}/conf.d
|
%dir %{nginx_confdir}/conf.d
|
||||||
|
%dir %{nginx_logdir}
|
||||||
%config(noreplace) %{nginx_confdir}/conf.d/*.conf
|
%config(noreplace) %{nginx_confdir}/conf.d/*.conf
|
||||||
%config(noreplace) %{nginx_confdir}/win-utf
|
%config(noreplace) %{nginx_confdir}/win-utf
|
||||||
%config(noreplace) %{nginx_confdir}/%{name}.conf.default
|
%config(noreplace) %{nginx_confdir}/%{name}.conf.default
|
||||||
@ -184,12 +185,14 @@ fi
|
|||||||
%dir %{perl_vendorarch}/auto/%{name}
|
%dir %{perl_vendorarch}/auto/%{name}
|
||||||
%{perl_vendorarch}/%{name}.pm
|
%{perl_vendorarch}/%{name}.pm
|
||||||
%{perl_vendorarch}/auto/%{name}/%{name}.so
|
%{perl_vendorarch}/auto/%{name}/%{name}.so
|
||||||
%attr(0700,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir}
|
%attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home}
|
||||||
%attr(0700,%{nginx_user},%{nginx_group}) %dir %{nginx_home}
|
%attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_tmp}
|
||||||
%attr(0700,%{nginx_user},%{nginx_group}) %dir %{nginx_home_tmp}
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-4
|
||||||
|
- Revert ownership of log dir
|
||||||
|
|
||||||
* Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-3
|
* Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-3
|
||||||
- Change ownership of /var/log/nginx to be 0700 nginx:nginx
|
- Change ownership of /var/log/nginx to be 0700 nginx:nginx
|
||||||
- update init script to use killproc -p
|
- update init script to use killproc -p
|
||||||
|
Loading…
Reference in New Issue
Block a user