[CentOS] Building and packaging httpd

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


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]?


[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


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