[systemd-devel] Customize configuration at compile-time vs /usr/lib/systemd/*/*.conf.d

2024-03-05 Thread Max Gautier
ka the one compiling systemd) should defined compile-time defaults, and /usr/lib/systemd/*.conf.d should be for overriding that. Am I missing documentation somewhere ? Thanks -- Max Gautier

Re: [systemd-devel] Can I provide separate enabling for dbus-activation and "normal" start ?

2024-02-23 Thread Max Gautier
On Fri, Feb 23, 2024 at 10:19:12AM +0100, Lennart Poettering wrote: > On Do, 22.02.24 17:09, Max Gautier (m...@max.gautier.name) wrote: > > > Is it possible when writing a dbus-activable service to provide two > > separate and independent ways to enable it ? > > > >

Re: [systemd-devel] Can I provide separate enabling for dbus-activation and "normal" start ?

2024-02-22 Thread Max Gautier
On Thu, Feb 22, 2024 at 07:43:50PM +0300, Andrei Borzenkov wrote: > On 22.02.2024 19:09, Max Gautier wrote: > > Hi, > > > > Is it possible when writing a dbus-activable service to provide two > > separate and independent ways to enable it ? > > > > Th

[systemd-devel] Can I provide separate enabling for dbus-activation and "normal" start ?

2024-02-22 Thread Max Gautier
files but I'm not completely sure how to do that without copying the whole file (i.e, is there some Install/Unit relation I can use for that ?) Thanks ! -- Max Gautier

Re: Masking swap.target to disable swaps (on old systemd versions)

2024-01-04 Thread Max Gautier
On Tue, Jan 02, 2024 at 09:56:44PM +0300, Andrei Borzenkov wrote: > On 02.01.2024 18:47, Max Gautier wrote: > > Hi, > > > > Is masking `swap.target` a reliable/supported way to disable all swaps > > (partition, file, whatever) ? > > > > I used that ap

Masking swap.target to disable swaps (on old systemd versions)

2024-01-02 Thread Max Gautier
If anyone has had some success trying similar things on old systemd versions, please let me know if you can. [1]: https://github.com/kubernetes-sigs/kubespray [2]: https://github.com/kubernetes-sigs/kubespray/issues/10741 Thanks a lot for your time -- Max Gautier

Re: [systemd-devel] Conditionally reload a service from another service

2023-07-31 Thread Max Gautier
rtificate placed in the same file ? If so, maybe you could use a path unit with PathChanged=/path/to/your/cert ? -- Max Gautier