Commands
city restart
Restart city runtime, restore managed agents, then restart Console
city restart
Restart the full city runtime stack.
Current behavior:
- stop Console
- stop city runtime
- restart city runtime
- restore managed agents that were running before restart
- restart Console
During the stop phase, Downcity stops the matching process group first. ACP executors, shell sessions, and watch child processes started by an agent stop with the parent, so old children do not keep consuming memory after the restart.
Usage
city restartRelated commands
Example output
$ city restart
city version: 1.0.0
✅ Console stopped
pid: <consolePid>
✅ DC console stopped
pid: <cityPid>
✅ DC console started
pid: <newCityPid>
Restarting 2 managed agents...
✅ Console started
pid: <newConsolePid>
url: http://127.0.0.1:5315