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

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

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