## osctl service Retrieve the state of a service (or all services), control service state ### Synopsis Service control command. If run without arguments, lists all the services and their state. If service ID is specified, default action 'status' is executed which shows status of a single list service. With actions 'start', 'stop', 'restart', service state is updated respectively. ``` osctl service [ [start|stop|restart|status]] [flags] ``` ### Options ``` -h, --help help for service ``` ### Options inherited from parent commands ``` --context string Context to be used in command -e, --endpoints strings override default endpoints in Talos configuration -n, --nodes strings target the specified nodes --talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config") ``` ### SEE ALSO * [osctl](osctl.md) - A CLI for out-of-band management of Kubernetes nodes created by Talos