Command Line Tools
wheels deploy app maintenance
Write the server-side maintenance marker. Pair with app live to clear it.
Synopsis
Section titled “Synopsis”wheels deploy app maintenance --release=<v> [--role=<name>] [--destination=<name>] [--dry-run]| Flag | Description |
|---|---|
--release=<v> | Required by the same parser as the other app verbs. |
--role=<name> | Limit to one role. |
--destination=<name> | Overlay destination config. |
--dry-run | Print the commands without executing. |
Behavior
Section titled “Behavior”Emits touch /tmp/kamal-maintenance-<service> on every host in the targeted role(s). Your app is responsible for checking for the marker and serving a maintenance response — this verb only writes the file.
Example
Section titled “Example”wheels deploy app maintenance --release=abc1234