watch_add
Add a Docker container, systemd unit, or PM2 app to the watch list. Writes the list; a separately installed supervisor starts watching. Duplicates return added=false instead of errors.
Instructions
Add a Docker container, systemd unit, or PM2 app to the watch list. This writes the list and nothing begins watching it — a supervisor has to be installed separately, which only the operator can do. Adding a target twice is reported as added=false rather than an error
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | What it is: docker, systemd, or pm2 (default docker) | |
| unit | No | Actual unit or app name when it differs from the name above (optional) | |
| server | No | Remote server name from config (optional, runs locally if omitted) | |
| container | Yes | Container, unit, or app name to watch |