Re: [gentoo-user] Systemd query ...

2023-05-17 Thread Rich Freeman
On Wed, May 17, 2023 at 6:18 AM Jacques Montier wrote: > > Well, well, Rich, you are completely right, you've found the key ! 👍 > I have that line in make.conf > INSTALL_MASK="/lib/systemd/system /usr/lib/systemd/system" > I now see where it comes from. > On the same machine, I have another OpenRC

Re: [gentoo-user] Systemd query ...

2023-05-17 Thread Jacques Montier
Le mer. 17 mai 2023 à 11:30, Rich Freeman a écrit : > On Wed, May 17, 2023 at 4:43 AM Jacques Montier > wrote: > > > > As I didn't mask anything, I don't understand why this file was not > installed as it was declared in the apache ebuild... > > You don't have anything set in INSTALL_MASK? Chec

Re: [gentoo-user] Systemd query ...

2023-05-17 Thread Rich Freeman
On Wed, May 17, 2023 at 4:43 AM Jacques Montier wrote: > > As I didn't mask anything, I don't understand why this file was not installed > as it was declared in the apache ebuild... You don't have anything set in INSTALL_MASK? Check "emerge --info www-servers/apache" You might want to check th

Re: [gentoo-user] Systemd query ...

2023-05-17 Thread Jacques Montier
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

Re: [gentoo-user] Systemd query ...

2023-05-16 Thread David M. Fellows
>Le lun. 15 mai 2023 à 11:58, Wols Lists a écrit : > >> Nothing to do with but sparked by the Apache problem ... >> >> One of the emails mentioned that the "ExecStop" section didn't appear to >> be working ... That's caused me considerable grief in a systemd config >> file I've written ... >> >> B

Re: [gentoo-user] Systemd query ...

2023-05-16 Thread Rich Freeman
On Tue, May 16, 2023 at 3:32 PM Jacques Montier 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

Re: [gentoo-user] Systemd query ...

2023-05-16 Thread Jacques Montier
Le mar. 16 mai 2023, 20:58, Neil Bothwick a écrit : > On Tue, 16 May 2023 20:03:36 +0200, Jacques Montier wrote: > > > It was very difficult to get Apache working with systemd Gentoo. > > No apache2.service found with apache installation. > > Really? > > % qfile apache2.service > www-servers/apac

Re: [gentoo-user] Systemd query ...

2023-05-16 Thread Neil Bothwick
On Tue, 16 May 2023 20:03:36 +0200, Jacques Montier wrote: > It was very difficult to get Apache working with systemd Gentoo. > No apache2.service found with apache installation. Really? % qfile apache2.service www-servers/apache: /lib/systemd/system/apache2.service > so i looked at the Linux M

Re: [gentoo-user] Systemd query ...

2023-05-16 Thread Jacques Montier
Le lun. 15 mai 2023 à 11:58, Wols Lists a écrit : > Nothing to do with but sparked by the Apache problem ... > > One of the emails mentioned that the "ExecStop" section didn't appear to > be working ... That's caused me considerable grief in a systemd config > file I've written ... > > Basically,

[gentoo-user] Systemd query ...

2023-05-15 Thread Wols Lists
Nothing to do with but sparked by the Apache problem ... One of the emails mentioned that the "ExecStop" section didn't appear to be working ... That's caused me considerable grief in a systemd config file I've written ... Basically, somebody else added an ExecStop section - and all hell brok