Accepting request 1154408 from server:http

- logrotate: don't fail if service not running

OBS-URL: https://build.opensuse.org/request/show/1154408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nginx?expand=0&rev=86
This commit is contained in:
Ana Guerrero 2024-03-04 20:24:38 +00:00 committed by Git OBS Bridge
commit 632540dd7d
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Mar 3 10:24:27 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- logrotate: don't fail if service not running
-------------------------------------------------------------------
Thu Feb 22 14:08:07 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -8,8 +8,7 @@
notifempty
delaycompress
lastaction
# -s reopen will use the pid file passed in the config file or the compiled in default path
/usr/sbin/nginx -s reopen
endscript
# "-s reopen" will use the pid file passed in the config file or the compiled in default path
[ -f /run/nginx.pid ] && /usr/sbin/nginx -s reopen
endscript
}