Command Line Tools
wheels deploy lock status
Report whether the per-service deploy lock is held. If held, prints the user and message that took it.
Synopsis
Section titled “Synopsis”wheels deploy lock status [--destination=<name>] [--dry-run]| Flag | Description |
|---|---|
--destination=<name> | Overlay destination config. |
--dry-run | Print the command without executing. |
Behavior
Section titled “Behavior”Emits readlink /tmp/kamal_deploy_lock_<service> on every host and prints each host’s output. Locked: the lock holder (user, host, timestamp and message). Unlocked: readlink’s “No such file” diagnostic for that host. A missing lock or an unreachable host is reported, not thrown.
Always run this before lock release — it’s the only safe way to tell a stale lock from an active one.
Example
Section titled “Example”wheels deploy lock status