A
Alexey Verkhovsky
I have some WEBRick server that I would like to run as WEBRick:aemon
(that's where a startup process forks a daemon and exits). The problem
is, there is some initialization code that must be executed _after_ the
fork (it opens a file for writing). Is there any good way to make it
happen (short of overriding WEBRick:aemon#start method)?
Best regards,
Alexey Verkhovsky
(that's where a startup process forks a daemon and exits). The problem
is, there is some initialization code that must be executed _after_ the
fork (it opens a file for writing). Is there any good way to make it
happen (short of overriding WEBRick:aemon#start method)?
Best regards,
Alexey Verkhovsky