Skip to content

CLI reference

ry maintenance

Markdown

Switch an app's maintenance mode: the edge answers every request with 503, the machines keep running.

ry maintenance [options] [command]

Show whether an app is in maintenance mode.

ry maintenance status [options] [app]

Arguments:

  • [app]: The app (default: “app” from rytiv.json in this directory or above).

Example:

ry maintenance status web

Put an app into maintenance: ALL requests get 503 from the edge until ry maintenance off.

ry maintenance on [options] <app>

Example:

ry maintenance on web

End maintenance: the app serves again with the next route poll (~2 s).

ry maintenance off [options] <app>

Example:

ry maintenance off web