Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


[Howto] Make esniper survive Apache *restart*

  • Dennis Gnad
    Dennis Gnad

    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:

    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!