def stop(context):
    """Stop application server.
    """
    config = context.obj["config"]
    pidfile = select(config, "application.pidfile", DEFAULT_PIDFILE)
    daemon_stop(pidfile)
def stop ( context ) : config = context . obj [ "config" ] pidfile = select ( config , "application.pidfile" , DEFAULT_PIDFILE ) daemon_stop ( pidfile )
Stop application server.