clean up code for ruby/upstartable-full