[CentOS] Building and packaging httpd

Fri Jan 10 15:18:07 UTC 2020
Benson Muite <benson_muite at emailplus.org>

Hi,

Am rebuilding httpd from scratch to enable http2 and minimize extra 
modules on Cent Os 8. Am having trouble understanding the spec file [0] 
and systemd initialization [1][2][3] (these are very similar to those 
extracted from [4]). Why are 3 scripts needed to start the service and 
why is a pid setting not needed as used in the httpd.service file at [5]?

Benson


[0] https://src.fedoraproject.org/rpms/httpd/blob/HEAD/f/httpd.spec

[1] https://src.fedoraproject.org/rpms/httpd/tree/f31

[2] https://src.fedoraproject.org/rpms/httpd/blob/f31/f/httpd.service

[3] https://src.fedoraproject.org/rpms/httpd/blob/f31/f/httpd-init.service

[4] 
http://vault.centos.org/8.0.1905/AppStream/Source/SPackages/httpd-2.4.37-12.module_el8.0.0+185+5908b0db.src.rpm

[5] https://blacksaildivision.com/how-to-install-apache-httpd-on-centos