init_env assumes that
open will always return file descriptors in a certain order, and throws if it doesn't. When invoking
monit restart through STAF,
open returns 3 when
init_env expects 0. I'm not sure why this is, but monit should be able to handle it.
Issue #649 resolved