示例#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')
def restart():
    """ Restarts the gunicorn service. """
    gunicorn_handler("restart")
def stop():
    """ Stops the gunicorn service. """
    if search("running", gunicorn_handler("status")):
        gunicorn_handler("stop")
def start():
    """ Starts the gunicorn service. """
    gunicorn_handler("start")
def stop():
    """ Stops the gunicorn service. """
    if search('running', gunicorn_handler('status')):
        gunicorn_handler('stop')