Fixes an issue where a disabled macOS and Windows service would fail to start with service.running.