polished rails init.d script