Skip to content

Command Line Tools

wheels deploy app maintenance

Write the server-side maintenance marker. Pair with app live to clear it.

wheels deploy app maintenance --release=<v> [--role=<name>] [--destination=<name>] [--dry-run]
FlagDescription
--release=<v>Required by the same parser as the other app verbs.
--role=<name>Limit to one role.
--destination=<name>Overlay destination config.
--dry-runPrint the commands without executing.

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
wheels deploy app maintenance --release=abc1234