CLI reference
ry maintenance
Switch an app's maintenance mode: the edge answers every request with 503, the machines keep running.
ry maintenance [options] [command]Subcommands
Section titled “Subcommands”ry maintenance status
Section titled “ry maintenance status”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 webry maintenance on
Section titled “ry maintenance on”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 webry maintenance off
Section titled “ry maintenance off”End maintenance: the app serves again with the next route poll (~2 s).
ry maintenance off [options] <app>Example:
ry maintenance off web