Start application server.

def start(context):
    """Start application server.
    """
    config = context.obj["config"]
    daemon = select(config, "application.daemon", False)
    workspace = select(config, "application.workspace", None)
    pidfile = select(config, "application.pidfile", DEFAULT_PIDFILE)
    daemon_start(partial(main, config), pidfile, daemon, workspace)