def stop_agent_service(self, quiet):
        try:
            if not quiet:
                print 'Sending control signal to stop agent service.'
            win32serviceutil.StopService(_SCALYR_AGENT_SERVICE_)
            if not quiet:
                print 'Agent service has stopped.'
        except win32api.error, e:
            if e[0] == winerror.ERROR_SERVICE_NOT_ACTIVE:
                raise AgentNotRunning('The operating system indicates the Scalyr Agent Service is not running.')
            elif e[0] == winerror.ERROR_SERVICE_DOES_NOT_EXIST:
                raise AgentNotRunning('The operating system indicates the Scalyr Agent Service is not installed.  '
                                      'This indicates a failed installation.  Try reinstalling the agent.')
            else:
                raise e
Parse i3status.conf so we can adapt our code to the i3status config.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_windows.py/WindowsPlatformController.stop_agent_service--crossover with--dataset/ETHPy150Open ultrabug/py3status/py3status/i3status.py/I3status.i3status_config_reader