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