Removes 'service: command not found' errors when testing on non-Ubuntu
Fix rubocop