www-servers/apache-2.2.25 doesn't start using systemd. This is caused by /usr/lib/systemd/system/apache2.service which doesn't implement the SERVERROOT and CONFIGFILE variables, not even hardcoded! My workaround is adding "-d /usr/lib64/apache2 -f /etc/apache2/httpd.conf" to APACHE2_OPTS in /etc/conf.d/apache2 so for me it now looks like this: APACHE2_OPTS="-D SSL -D PROXY -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf" I haven't reported any gentoo bugs in years, but this is my third bug report for services using systemd and I expect this not to be the last one ;)
This comes from the first round of including service files and were working ok also on Sabayon: *apache-2.2.24-r1 (20 May 2013) 20 May 2013; Fabio Erculiani <lxnay@gentoo.org> +apache-2.2.24-r1.ebuild, apache-2.4.4-r3.ebuild, +files/00_systemd.conf, +files/httpd-2.4.3-mod_systemd.patch, +files/apache.conf, +files/apache2.2.service, +files/apache2.4.service: add systemd support to both 2.2 and 2.4 branches on behalf of the systemd team, fix bug #466096, overriding unresponsive maintainer @Fabio, are you around?
It looks like Fabio is not around... Am I really the only one using apache with systemd on Gentoo?
this looks obsolete now (I run 2.4.27 without any issues)