- cgi-bin is disabled by default in modern Apache configurations;
creating it unconditionally via tmpfiles.d is unnecessary
- Remove /srv/www/cgi-bin from apache2.tmpfiles
- Drop %ghost %dir %{cgidir} from %files
- Drop %{cgidir} from %check mkdir invocation
- Fix bsc#1262159.
- MaxRequestWorkers (256) must be a multiple of ThreadsPerChild (25).
Decreased to 250.
- use tmpfiles.d for runtime directory creation
This improves compatibility with immutable OSs, such as MicroOS.
- Add apache2.tmpfiles.
- Drop buildroot mkdir calls for log, cache and lib directories:
these are now created at runtime via tmpfiles.d
- Mark /srv/www, htdocs, cgi-bin, log, cache and lib dirs as %ghost
in %files: RPM registers ownership without packaging the paths
OBS-URL: https://build.opensuse.org/request/show/1350419
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2?expand=0&rev=224
Description
No description provided
Languages
Shell
93.2%
C
6.8%