Fix several minor issues with Debian sysvinit script Upstream-commit: 2767509894e52f7ff28bdd95ccc7737eb6779a1a Component: engine