compatibility with Rails Daemonized env