cordon service install
| Option | Default | Description |
|---|---|---|
--name | default | Service instance name (for running multiple instances) |
--config | cordon.toml | Path to an existing config file (relative to the directory you run the command from, unless you pass an absolute path) |
cordon.toml — it only installs OS service metadata so the service runs cordon start with the config path you pass. The file must already exist, usually from cordon setup.
When do you need this command?
- Project development: run setup first, then install a service for that project if you want cordon to start automatically:
cordon service install --name my-project --config ./cordon.toml. - Custom config locations: pass
--configexplicitly if the file is not./cordon.tomlin your current directory.
- macOS
- Linux
Installs a launchd user agent at
~/Library/LaunchAgents/.cordon service uninstall
| Option | Default | Description |
|---|---|---|
--name | default | Service instance name |