Fix init script when dogstatsd is disabled