connectorctl service restart
This command restarts all the Cisco Spaces: Connector services. To enable debug logs, use the -l keyword is specified.
connectorctl service restart -s service-name [ -l debug-level [ -d debug-period-in-minutes ] ]
Syntax Description
Keyword and Variable | Description | ||
---|---|---|---|
-s service-name |
Configure the service that needs to be restarted. |
||
-l debug-level |
(Optional) Configure the debug level. Values are DEBUG, INFO, and WARNING.
|
||
-d debug-period-in-minutes |
(Optional) Specify the debug period in minutes. If unspecified, the default value is 10 minutes.
|
Command History
Release 3 |
This command is introduced. |
Examples
You can also restart a specified service. The following is a sample output of the command:$[spacesadmin@connector ~]$ connectorctl service restart -s location -l DEBUG
Executing command:service
Command execution status: Success
Status:Successfully started location