Debian package: Prevent init script from returning when the service isn't actually started.

Close #6909