27.06.2025 17:50, Stef Bon wrote:

Ok. The environment variable won't change when calling sd_notify.
I understand that. But how can I make socket activation  work after
the main process osns system has forked? Is it required to fork
anyway....


Invoke sd_listen_fds before fork, parse LISTEN_FDS yourself or try setenv("LISTEN_PID", ...) after fork.

Reply via email to