|
daemonization
Hi !
My server (Ice::Service) does not want to become a daemon on some Linuxes (e.g. RH7.3).
The first original process is not terminated.
There is no problem on newer Linuxes.
I don't know is it a bug/feature/"undefined_behaviour" of glibc.
The problem is in the parent part of Ice::Service::runDaemon() which finishes with the
'return exit_code' statement.
Could you replace it with '_exit(exit_code)' (note underscore).
Best regards, Nikolai
|