
"""Services Module."""

import shell


def run_service_command(serviceName, command='status'):
    """Run Service Command."""
    command = "sudo service %s %s" % (serviceName, command)
    shell.run_shell_cmd(command)


def stop_service(serviceName):
    """Stop Service."""
    run_service_command(serviceName, 'stop')


def start_service(serviceName):
    """Start Service."""
    run_service_command(serviceName, 'start')

95942c9e825639385c7d4b1f73ee615215053478
<mask token>


def run_service_command(serviceName, command='status'):
    """Run Service Command."""
    command = 'sudo service %s %s' % (serviceName, command)
    shell.run_shell_cmd(command)


<mask token>

<mask token>


def run_service_command(serviceName, command='status'):
    """Run Service Command."""
    command = 'sudo service %s %s' % (serviceName, command)
    shell.run_shell_cmd(command)


<mask token>


def start_service(serviceName):
    """Start Service."""
    run_service_command(serviceName, 'start')

<mask token>


def run_service_command(serviceName, command='status'):
    """Run Service Command."""
    command = 'sudo service %s %s' % (serviceName, command)
    shell.run_shell_cmd(command)


def stop_service(serviceName):
    """Stop Service."""
    run_service_command(serviceName, 'stop')


def start_service(serviceName):
    """Start Service."""
    run_service_command(serviceName, 'start')

<mask token>
import shell


def run_service_command(serviceName, command='status'):
    """Run Service Command."""
    command = 'sudo service %s %s' % (serviceName, command)
    shell.run_shell_cmd(command)


def stop_service(serviceName):
    """Stop Service."""
    run_service_command(serviceName, 'stop')


def start_service(serviceName):
    """Start Service."""
    run_service_command(serviceName, 'start')


"""Services Module."""

import shell


def run_service_command(serviceName, command='status'):
    """Run Service Command."""
    command = "sudo service %s %s" % (serviceName, command)
    shell.run_shell_cmd(command)


def stop_service(serviceName):
    """Stop Service."""
    run_service_command(serviceName, 'stop')


def start_service(serviceName):
    """Start Service."""
    run_service_command(serviceName, 'start')
