def jsonrpc_restart(self, show=False): return api.process_restart(show)
def process_restart_v1(self, request): return api.process_restart(showgui=bool(request.args.get('showgui')))