Fix default daemon script for compatibility with Rails 4