Re: [systemd-devel] Multiple log namespaces for a single service?

2025-05-23 Thread Etienne Doms
't bound to a single namespace but the libsystemd > API is hardcoded to connect to the "main" journal socket (which systemd > overmounts if the unit declares a different namespace). You could manually > connect to a separate instance's socket and implement > https://s

Re: [systemd-devel] Multiple log namespaces for a single service?

2025-05-23 Thread Etienne Doms
u for your reply. Le mar. 20 mai 2025 à 16:22, Vito Caputo a écrit : > > On Tue, May 20, 2025 at 10:13:32AM +0200, Etienne Doms wrote: > > Hi, > > > > We're developing an embedded application which is run through a > > systemd service, and we use sd-journal

[systemd-devel] Multiple log namespaces for a single service?

2025-05-20 Thread Etienne Doms
Hi, We're developing an embedded application which is run through a systemd service, and we use sd-journal for logging. We just figured out that something is not scaling up: we log at INFO level things like "user pushed that button so we did that" (which occurs once in a while) and at DEBUG level

Re: [systemd-devel] Springboot and systemd, clean shutdown

2024-10-02 Thread Etienne Doms
Hi, https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#ExecStop= "Note that it is usually not sufficient to specify a command for this setting that only asks the service to terminate (for example, by sending some form of termination signal to it), but does not wait for i

Re: [systemd-devel] Online backup API for systemd-journal?

2023-09-04 Thread Etienne Doms
Oh, I knew I was missing something with the "-o export", I wasn't aware of systemd-journal-remote. Thanks! Le lun. 4 sept. 2023 à 18:54, Mantas Mikulėnas a écrit : > > On Mon, Sep 4, 2023 at 5:35 PM Etienne Doms wrote: >> >> Hi, >> >> I have some e

[systemd-devel] Online backup API for systemd-journal?

2023-09-04 Thread Etienne Doms
Hi, I have some embedded systems in the wild, not connected to anything, on which you can push a button "something went wrong, create a dump". Then later I can fetch the said dump and inspect it. I'd like to include the whole journal, for the current boot, in a binary format so that I can later d

Re: [systemd-devel] org.freedesktop.timedate1.NTPSynchronized not signaled: rationale?

2022-08-17 Thread Etienne Doms
à 15:17, Mantas Mikulėnas a écrit : > > On Wed, Aug 17, 2022 at 1:59 PM Etienne Doms wrote: >> >> Hi, >> >> I'm developing an application for an embedded system that needs to >> wait for proper NTP synchronization. systemd-timesyncd is running and >&

Re: [systemd-devel] [EXT] org.freedesktop.timedate1.NTPSynchronized not signaled: rationale?

2022-08-17 Thread Etienne Doms
mer. 17 août 2022 à 14:01, Ulrich Windl a écrit : > > >>> Etienne Doms schrieb am 17.08.2022 um 12:58 in > Nachricht > : > > Hi, > > > > I'm developing an application for an embedded system that needs to > > wait for proper NTP synchronization. s

[systemd-devel] org.freedesktop.timedate1.NTPSynchronized not signaled: rationale?

2022-08-17 Thread Etienne Doms
Hi, I'm developing an application for an embedded system that needs to wait for proper NTP synchronization. systemd-timesyncd is running and I can read NTPSynchronized from /org/freedesktop/timedate1 using D-Bus. I read in the manual that this property is not signaled, and that I need to do some w

Re: [systemd-devel] How to dynamically retrieve my service name?

2020-11-10 Thread Etienne Doms
ight from /proc//cgroup, with no D-Bus yet), then call > .Manager.GetUnit() to translate the name into an object path. > > > > On Tue, Nov 10, 2020 at 6:28 PM Etienne Doms wrote: >> >> Hello, >> >> My service needs to behave a bit differently when it has be

[systemd-devel] How to dynamically retrieve my service name?

2020-11-10 Thread Etienne Doms
edesktop.systemd1.Service interface? Maybe I'm just over-engineering and should just hardcode "foobar.service" inside my service, but it feels a bit odd to me... Maybe also I understand nothing about D-Bus, sorry about that. Thank you for y

Re: [systemd-devel] User question: how to manage an application split up into multiple binaries The Right Way.

2019-06-05 Thread Etienne Doms
On Wed, 5 Jun 2019 at 10:56, Reindl Harald wrote: > > > > Am 05.06.19 um 10:34 schrieb Etienne Doms: > > Hi all, > > > > We are developing an application on an embedded system which, for some > > reasons, must be split up into multiple processes. All these p

[systemd-devel] User question: how to manage an application split up into multiple binaries The Right Way.

2019-06-05 Thread Etienne Doms
eling about this? Have I missed something obvious and/or am I over-engineering? Thank you for your support. Best regards, Etienne Doms ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel