Restart API

Overview

mouaif runs as a small supervisor that keeps a worker process alive. Restarting replaces the worker, so server-side code and settings are reloaded, while the supervisor, and the terminal you started it from, keep running.

Usage

curl -X POST http://127.0.0.1:5732/api/restart

When access authentication is on, add -u <user>:<password>. The page reconnects on its own once the new worker is up.