예제 #1
0
def reload():
    helpers.signal("HUP", env.nginx_pidfile)
예제 #2
0
def statistics():
    '''Dump some statistics to the log file'''
    helpers.signal("USR1", env.uwsgi_pidfile)
예제 #3
0
def stop(kill=False):
    sig = "QUIT"
    if kill:
        sig = "KILL"

    helpers.signal(sig, env.nginx_pidfile)
예제 #4
0
def restart():
    '''Hard restart of the master uwsgi process'''
    helpers.signal("TERM", env.uwsgi_pidfile)
예제 #5
0
def reload():
    '''Gracefully reload the master uwsgi process and workers'''
    helpers.signal("HUP", env.uwsgi_pidfile)
예제 #6
0
def reload():
    helpers.signal("HUP", env.nginx_pidfile)
예제 #7
0
def stop():
    '''Stops the uwsgi instance, if the pidfile is present'''
    helpers.signal("INT", env.uwsgi_pidfile)
예제 #8
0
def stop(kill=False):
    sig = "QUIT"
    if kill:
        sig = "KILL"

    helpers.signal(sig, env.nginx_pidfile)
예제 #9
0
def statistics():
    '''Dump some statistics to the log file'''
    helpers.signal("USR1", env.uwsgi_pidfile)
예제 #10
0
def reload():
    '''Gracefully reload the master uwsgi process and workers'''
    helpers.signal("HUP", env.uwsgi_pidfile)
예제 #11
0
def restart():
    '''Hard restart of the master uwsgi process'''
    helpers.signal("TERM", env.uwsgi_pidfile)
예제 #12
0
def stop():
    '''Stops the uwsgi instance, if the pidfile is present'''
    helpers.signal("INT", env.uwsgi_pidfile)