# Tell nginx to reopen logs
# http://nginx.org/en/docs/control.html#logs
reopen_logs() {
+ local oldbin_pidfile="${pidfile}.oldbin"
+
+ if [ -f $oldbin_pidfile ]; then
+ show "Reopening $svname (oldbin) logs"
+ killproc -p $oldbin_pidfile $prog -USR1
+ fi
+
show "Reopening $svname logs"
killproc -p $pidfile $prog -USR1
}
# - mainline: production quality but API can change
Name: nginx
Version: 1.15.8
-Release: 2
+Release: 3
License: BSD-like
Group: Networking/Daemons/HTTP
Source0: http://nginx.org/download/%{name}-%{version}.tar.gz