Difference between revisions of "Snapctl"

From wikieduonline
Jump to navigation Jump to search
Line 24: Line 24:
 
</pre>
 
</pre>
  
  snapctl start [[microstack]].[[ovs]]-[[vswitchd]] --enable
+
  [[snapctl start]] [[microstack]].[[ovs]]-[[vswitchd]] --enable
 
  error: error running snapctl: cannot start without a context
 
  error: error running snapctl: cannot start without a context
  

Revision as of 14:19, 22 April 2021

https://www.systutorials.com/docs/linux/man/8-snap/

snapctl
error: snapctl cannot run without args
snapctl --help
Usage:
  snapctl [OPTIONS] <command>

Help Options:
  -h, --help  Show this help message

Available commands:
  get           The get command prints configuration and interface connection settings.
  is-connected  Return success if the given plug or slot is connected, and failure otherwise
  restart       Restart services
  services      Query the status of services
  set           Changes configuration options
  set-health    Report the health status of a snap
  start         Start services
  stop          Stop services
  unset         Remove configuration options
snapctl start microstack.ovs-vswitchd --enable
error: error running snapctl: cannot start without a context

See also

Advertising: