[COOK-2255] Fix init script template for debian/ubuntu

I've used the code from official debian 6 chef package (v10.18.0) from apt.opscode.com to fix this template.