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

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

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