packages: nginx/nginx.logrotate - nginx.logrotate should reload both nginx-...

Zbyniu Krzystolik zbyniu at geocarbon.pl
Sun Nov 27 22:20:40 CET 2011


adwol wrote:
> Author: adwol                        Date: Sun Nov 27 21:13:37 2011 GMT
> Module: packages                      Tag: HEAD
> ---- Log message:
> - nginx.logrotate should reload both nginx-light and nginx-standard
>   since these could be installed at the same time
> -		/sbin/service nginx graceful > /dev/null
> +		if [ -x /etc/rc.d/init.d/nginx-light ] ; then
> +			/sbin/service nginx-light graceful > /dev/null
> +		fi
> +		if [ -x /etc/rc.d/init.d/nginx-standard ] ; then
> +			/sbin/service nginx-standard graceful > /dev/null
> +		fi
>  	endscript

Cześć.
Jeszcze -mail i -perl.

Zbyniu
-- 
%% Absolutely nothing we trust %%


More information about the pld-devel-pl mailing list