Commit Graph

9 Commits

Author SHA1 Message Date
Felix Kaechele
f935cbcf8d sync rawhide and EPEL7 spec files again
systemd service reload now checks config file (rhbz#1565377)
drop nginx requirement on nginx-all-modules (rhbz#1708799)
let nginx handle log creation on logrotate (rhbz#1683388)
have log directory owned by root (rhbz#1390183, CVE-2016-1247)
remove obsolete --with-ipv6 (src PR#8)
correction: pcre2 is actually not supported by nginx, reintroduce pcre
2021-04-21 12:08:00 -04:00
Felix Kaechele
d1fd6c2b93 update to 1.20.0
sync with mainline spec file
order configure options alphabetically for easier comparinggit
add --with-compat option (rhbz#1834452)
add patch to fix PIDFile race condition (rhbz#1869026)
use pcre2 instead of pcre (rhbz#1938984)
add Wants=network-online.target to systemd unit (rhbz#1943779)
2021-04-20 22:04:06 -04:00
Jamie Nguyen
0f695d477b Remove PID file before starting nginx (#1268621)
`nginx -t` creates the file /run/nginx.pid if it doesn't exist. `nginx -t` is
executed by ExecStartPre (in nginx.service) and creates /run/nginx.pid with the
correct SELinux context. However, when manually running `nginx -t` from the
cmdline, the SELinux transition for systemd services doesn't occur and
/run/nginx.pid is created with the wrong SELinux context. A workaround is to
make sure that the PID file is removed before starting nginx.
2015-10-04 08:32:14 +01:00
Jamie Nguyen
149abb601c Minor improvements to nginx.service and logrotate 2015-06-14 18:03:15 +01:00
Jamie Nguyen
ba7509ae8c Add TimeoutStopSec=5 and KillMode=mixed 2015-05-10 09:06:20 +01:00
Jamie Nguyen
705eb45a19 Add nginx-upgrade and improve nginx.service 2012-05-16 22:11:49 +01:00
Jamie Nguyen
c89e267a4e Revert "Minor change to systemd service file"
This reverts commit 516ea18ba1.
2012-03-04 17:57:56 +00:00
Jamie Nguyen
516ea18ba1 Minor change to systemd service file 2012-03-04 16:40:09 +00:00
Jamie Nguyen
6afa9eb88e Migrate to systemd and general spec cleanup. 2012-02-22 15:15:49 +00:00