Hey everyone, is there a simple way to detect in a child_init hook if the current process is also the main server process (the one that runs the pre_config hook).
At least for debug mode (-X commandline switch) both pre_config and child_init are being both run for that single process and there's some stuff I need to do in my module that only ever should be run in child processes. I could store the main process pid in get pre_config hook and compare it with getpid() result in the child_init but maybe there's a more elegant solution? Thanks and regards Florian