From: Jacques Montier <jmontier@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Systemd query ...
Date: Wed, 17 May 2023 10:43:31 +0200 [thread overview]
Message-ID: <CAHVEG0DwBBh8yxDcatW99PRN6+g4vUYFAMO5X0FBYVJk6k3tsQ@mail.gmail.com> (raw)
In-Reply-To: <CAGfcS_kZ4YfNA6FFMrzSU-WeEzpSPvYBNqpjNGn4ORjo4YpQZg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2560 bytes --]
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 <rich0@gentoo.org> a écrit :
> On Tue, May 16, 2023 at 3:32 PM Jacques Montier <jmontier@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
>
>
[-- Attachment #2: Type: text/html, Size: 3330 bytes --]
next prev parent reply other threads:[~2023-05-17 8:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 9:58 [gentoo-user] Systemd query Wols Lists
2023-05-16 18:03 ` Jacques Montier
2023-05-16 18:58 ` Neil Bothwick
2023-05-16 19:32 ` Jacques Montier
2023-05-16 19:42 ` Rich Freeman
2023-05-17 8:43 ` Jacques Montier [this message]
2023-05-17 9:29 ` Rich Freeman
2023-05-17 10:18 ` Jacques Montier
2023-05-17 10:29 ` Rich Freeman
2023-05-17 0:41 ` David M. Fellows
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHVEG0DwBBh8yxDcatW99PRN6+g4vUYFAMO5X0FBYVJk6k3tsQ@mail.gmail.com \
--to=jmontier@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox