restart
Restart an app with its current deployment.
lly restart [SLUG|ID]Stops and starts the app with the same deployment. To apply new code or changed variables, use redeploy.
lly restart copperfox
# ✓ copperfox: restart donelly waits up to 45 seconds. If the restart takes longer, lly returns and the command continues.
Exit codes
| Code | Cause |
|---|---|
5 | Another command is running on the app |
7 | Restart failed |
JSON output
{"app", "command", "command_id", "state", "result"}. state is done or running.