restart

/admin?op=restart restarts the Dgraph.

The restart operation acts similarly to the exit operation, except that after shutting down, the Dgraph restarts. This is the recommended way to restart a Dgraph, as opposed to manually stopping and starting the process, since it gracefully completes all transactions and exits cleanly before starting up again.

The restart operation returns output similar to the following:

Dgraph admin, OK
Dgraph restarting at Wed May 20 11:25:19 2009

Agraph support

The restart operation is supported in the Agraph.