IoT Edge Greengrass command line for restart

0

Hello All, I tried to find how to start/stop a specific deployed package at the device side instead of using sudo service greengrass stop. Is this possible? Thanks!

enierop
gefragt vor 2 Jahren812 Aufrufe
2 Antworten
0
Akzeptierte Antwort

further to @Jan_B answer you can Install it from the public components https://<your-region>.console.aws.amazon.com/iot/home?region=<your-region>#/greengrass/v2/components/public/aws.greengrass.Cli/versions/2.5.3 then it will be available on your device at /greengrass/v2/bin/greengrass-cli

clogwog
beantwortet vor 2 Jahren
0

If you deploy the local Greengrass Command Line Interface component, you can use the CLI to interact with your components from the host where Greengrass is installed. For example, restarting a component like this

profile pictureAWS
EXPERTE
Jan_B
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen