Use 'kill' instead of 'systemctl' when rotating log files
This commit is contained in:
parent
eea47d5274
commit
4f8de83470
@ -7,7 +7,7 @@
|
|||||||
compress
|
compress
|
||||||
sharedscripts
|
sharedscripts
|
||||||
postrotate
|
postrotate
|
||||||
/bin/systemctl kill --signal=SIGUSR1 nginx.service
|
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
Name: nginx
|
Name: nginx
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.2.6
|
Version: 1.2.6
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
|
|
||||||
Summary: A high performance web server and reverse proxy server
|
Summary: A high performance web server and reverse proxy server
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -202,6 +202,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 05 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-6
|
||||||
|
- use 'kill' instead of 'systemctl' when rotating log files to workaround
|
||||||
|
SELinux issue (#889151)
|
||||||
|
|
||||||
* Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-5
|
* Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-5
|
||||||
- uncomment "include /etc/nginx/conf.d/*.conf by default but leave the
|
- uncomment "include /etc/nginx/conf.d/*.conf by default but leave the
|
||||||
conf.d directory empty (#903065)
|
conf.d directory empty (#903065)
|
||||||
|
Loading…
Reference in New Issue
Block a user