Ejemplo n.º 1
0
def stop():
    """ Stops the gunicorn service. """
    if search('running', gunicorn_handler('status')):
        gunicorn_handler('stop')
Ejemplo n.º 2
0
def restart():
    """ Restarts the gunicorn service. """
    gunicorn_handler('restart')
Ejemplo n.º 3
0
def start():
    """ Starts the gunicorn service. """
    gunicorn_handler('start')
Ejemplo n.º 4
0
def restart():
    """ Restarts the gunicorn service. """
    gunicorn_handler("restart")
Ejemplo n.º 5
0
def stop():
    """ Stops the gunicorn service. """
    if search("running", gunicorn_handler("status")):
        gunicorn_handler("stop")
Ejemplo n.º 6
0
def start():
    """ Starts the gunicorn service. """
    gunicorn_handler("start")
Ejemplo n.º 7
0
def stop():
    """ Stops the gunicorn service. """
    if search('running', gunicorn_handler('status')):
        gunicorn_handler('stop')