duectl-daemon
duectl-daemon [OPTIONS] COMMAND [ARGS]...
start
Start a background process of command duectl start.
All arguments after -- will be passed to duectl start.
- Example:
duectl-daemon start -- --config /path/to/config
duectl-daemon start [OPTIONS]
Options
- --workdir <workdir>
Log file and pid file will be stored in working directory, default: /tmp/duetector
- --loglevel <loglevel>
Log level, default: INFO
- --rotate_log <rotate_log>
Rotate log file when process started, default: True
status
Show status of process.
Determined by the existence of pid file in workdir.
duectl-daemon status [OPTIONS]
Options
- --workdir <workdir>
Log file and pid file will be stored in working directory, default: /tmp/duetector
stop
Stop the process.
Determined by the existence of pid file in workdir.
duectl-daemon stop [OPTIONS]
Options
- --workdir <workdir>
Log file and pid file will be stored in working directory, default: /tmp/duetector