Use LSB-compliant exit codes for the init script

fixes #7044