stado service file-sync
Invocation
stado service file-sync [OPTIONS] --host <HOST> --source-file <SOURCE_FILE> --target-file <TARGET_FILE> <NAME>Purpose
Synchronize one local file into a managed service's target home. The content travels only inside the approved encrypted channel's request body. It is never printed or placed in an argument vector, and the destination is replaced atomically with owner-only permissions.
Required inputs and options
| Input or option | Contract |
|---|---|
<NAME> | Service whose host-local process uses the file |
--host <HOST> | The single registry host to update |
--source-file <SOURCE_FILE> | Absolute regular file on this operator host |
--target-file <TARGET_FILE> | File on the target, absolute or rooted at $HOME |
--executable | Install mode 0700 instead of 0600 |
--json | Command option; required or optional as shown in the invocation. |
Output and state effect
It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.
Refusals
- Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.