Hi all, Thanks to Neil and Rich.
I Effectively found the file www-servers/apache/files/apache2.4-hardened.service. I renamed it as apache2.service in /lib/systemd/system. Now it works !!! 👍 BUT, As I didn't mask anything, I don't understand why this file was not installed as it was declared in the apache ebuild... # Note: wait for mod_systemd to be included in some forthcoming release, # Then apache2.4.service can be used and systemd support controlled # through --enable-systemd systemd_newunit "${FILESDIR}/apache2.4-hardened.service" "apache2.service" dotmpfiles "${FILESDIR}/apache.conf" #insinto /etc/apache2/modules.d #doins "${FILESDIR}/00_systemd.conf" My use flags and modules : Installed versions: 2.4.55-r1(2)(11:11:07 12/05/2023)(gdbm ssl suexec-caps systemd -debug -doc -ldap -selinux -split-usr -static -suexec -suexec-syslog -threads APACHE2_MODULES="actions alias auth_basic authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers http2 include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -auth_digest -auth_form -authn_dbd -authn_socache -authz_dbd -brotli -cache_disk -cache_socache -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -lua -macro -md -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_hcheck -proxy_html -proxy_http -proxy_http2 -proxy_scgi -proxy_uwsgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout -session -session_cookie -session_crypto -session_dbd -slotmem_shm -socache_memcache -substitute -version -watchdog -xml2enc" APACHE2_MPMS="-event -prefork -worker" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4") However, it works fine and thanks again to all of you ! Cheers, -- Jacques Le mar. 16 mai 2023 à 21:43, Rich Freeman <ri...@gentoo.org> a écrit : > On Tue, May 16, 2023 at 3:32 PM Jacques Montier <jmont...@gmail.com> > wrote: > > > > After install, apache2.service not found... > > Have you done something to mask service file installs/etc? > > The unit file is in the gentoo repo: > www-servers/apache/files/apache2.4-hardened.service > > -- > Rich > >