Accepting request 436644 from server:http
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/436644 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nginx?expand=0&rev=7
This commit is contained in:
commit
86b5837385
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 10 10:23:47 UTC 2016 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- Fix the logrotate script: we had a hardcoded postrotate action
|
||||||
|
pointing to /etc/init.d/nginx. This does not exist anymore on
|
||||||
|
systemd hosts. Replace it with /usr/sbin/nginx -s reopen, which
|
||||||
|
will use the pid file passed in the config file or the compiled
|
||||||
|
in default path.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 29 10:45:57 UTC 2016 - mrueckert@suse.de
|
Thu Sep 29 10:45:57 UTC 2016 - mrueckert@suse.de
|
||||||
|
|
||||||
|
@ -8,7 +8,8 @@
|
|||||||
notifempty
|
notifempty
|
||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
/etc/init.d/nginx reopen
|
# -s reopen will use the pid file passed in the config file or the compiled in default path
|
||||||
|
/usr/sbin/nginx -s reopen
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user