- ...
- SDK
- Yocto
- ...
- ...
- tools
- debug
- package
- deploy
- debug
Manage SimpleSwitch™ packages#
Some scripts are here to ease the manipulation of SimpleSwitch™ applications:
simpleswitch-status
to get the status of SimpleSwitch™ applications.simpleswitch-start-package
to start a SimpleSwitch™ application and its dependencies.simpleswitch-stop-package
to stop a SimpleSwitch™ application.simpleswitch-enable-package
to enable the automatic start on boot of a SimpleSwitch™ application and start it and its dependencies.simpleswitch-disable-package
to disable the automatic start on boot of a SimpleSwitch™ application and stop it.
The last 4 scripts need exactly 2 parameters:
the SimpleSwitch™ application
the IP address of the target
The simpleswitch-status
can be used with these 2 parameters to return
the status of the given SimpleSwitch™ application. But it could also be used
just passing the IP address of the target. In this case, the status of all
installed SimpleSwitch™ application is displayed, example:
$ simpleswitch-status 192.168.0.32
Warning: Permanently added '192.168.0.32' (RSA) to the list of known hosts.
INFO: SIMPLESWITCH APPS AUTOSTART ACTIVE STATE SUB STATE RESULT MAIN PID
INFO: simpleswitch-A False inactive dead success 834
INFO: simpleswitch-B True active running success 994
INFO: simpleswitch-C True failed failed exit-code 1572
Removing a deployed package can be done using the following command
$ simpleswitch-remove-package simpleswitch-example 192.168.0.32