The tedge service command
tedge service
Execute a service command
Usage: tedge service [OPTIONS] <ACTION> <SERVICE_NAME>
Arguments:
<ACTION>
The action to run on the service, e.g. start, stop or restart
Which actions are supported is decided depending on the service type. Init system for the default service type, a service plugin for any other type.
<SERVICE_NAME>
The name of the service to act on
Options:
--config-dir <CONFIG_DIR>
[env: TEDGE_CONFIG_DIR, default: /etc/tedge]
--type <SERVICE_TYPE>
The type of the service
The default type is handled by the init system configured in system.toml. Any other type is handled by the service plugin.
[default: service]
--debug
Turn-on the DEBUG log level.
If off only reports ERROR, WARN, and INFO, if on also reports DEBUG
--log-level <LOG_LEVEL>
Configures the logging level.
One of error/warn/info/debug/trace. Logs with verbosity lower or equal to the selected level will be printed, i.e. warn prints ERROR and WARN logs and trace prints logs of all levels.
Overrides `--debug`
-h, --help
Print help (see a summary with '-h')