Dennis Gnad - 2012-01-30

Some people might want to make esniper survive apache _restart_ (not only reload). I experimented a bit with bash and found a quick hack that works for me, but isn't really very "clean" implemented. Anyway, you still might want to use it.

Just use the following code for a script that you supply to esf in the setup instead of the normal esniper binary:

#!/bin/bash
(
exec setsid /usr/bin/esniper $@
) &
exit $?

For me everything in esf still worked normally, and esniper processes did still run after an apache restart (and were also shown inside esf) :-)

Have fun&success with it!