first of all, gentoo does install with a service file:

[root@noela:~]# equery f apache | grep systemd | grep service
/lib/systemd/system/apache2.service

also, I feel the way apache works is indifferent to distro or os. i mean, it makes very little difference as far as apache goes if you have openrc or systemd. in the end its just a shell script to apachectl start|stop|restart||configtest. Get a grip on logging. On how the system logs, and how apache logs. check /etc/conf.d/apache2 which establishes the parameters with which apache starts.


|

On 5/10/2023 9:58 PM, Jacques Montier wrote:
Hello all,

To learn a little bit about systemd, I recently installed a gentoo with systemd profile.
After some fights, the OS is working, but it was a real mess !!!
Now I am struggling for launching apache2 daemon.
When apache is compiled and installed, no apache2.service appears !
It was the same problem with the mysql database...
I copied the apache2.service from Linux Mint (attached file).
systemctl enable apache2.service works but failed when starting... (journalctl attached)

Have you any solution to resolve that issue ?

Thanks in advance.


--
Jacques

Reply via email to