def reload(): helpers.signal("HUP", env.nginx_pidfile)
def statistics(): '''Dump some statistics to the log file''' helpers.signal("USR1", env.uwsgi_pidfile)
def stop(kill=False): sig = "QUIT" if kill: sig = "KILL" helpers.signal(sig, env.nginx_pidfile)
def restart(): '''Hard restart of the master uwsgi process''' helpers.signal("TERM", env.uwsgi_pidfile)
def reload(): '''Gracefully reload the master uwsgi process and workers''' helpers.signal("HUP", env.uwsgi_pidfile)
def stop(): '''Stops the uwsgi instance, if the pidfile is present''' helpers.signal("INT", env.uwsgi_pidfile)