mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
cmd/ctrld: add commands to control ctrld as a system service
Supported actions: - start: install and start ctrld as a system service - stop: stop the ctrld service - restart: restart ctrld service - status: show status of ctrld service - uninstall: remove ctrld from system service
This commit is contained in:
committed by
Cuong Manh Le
parent
9e7578fb29
commit
ec72af1916
@@ -25,7 +25,10 @@ The user can choose to override default value using command line `--config` or `
|
||||
ctrld run --config /path/to/myconfig.toml
|
||||
```
|
||||
|
||||
If no configuration files found, a default `config.toml` file will be created in the current directory.
|
||||
If no configuration files found, a default `ctrld.toml` file will be created in the current directory.
|
||||
|
||||
In pre v1.1.0, `config.toml` file was used, so for compatibility, `ctrld` will still read `config.toml`
|
||||
if it's existed.
|
||||
|
||||
# Example Config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user