AWS GreenGrass Components - run on device start up

0

Hello,

I have an IoT device which is shutdown overnight due to customer requirements, and is restarted in the morning.

Currently the service used to operate the device is started using a systemd service, this works, but is not the solution we are after.

I am looking at using Greengrass components to deploy the service to the device, and monitor the service (Long lived service which needs to always be running/restart if failed), but I am struggling to find any resources on how/if components run on start up? I know the greengrass.service is run on start up, so I am wondering if i need to set anything in the component recipe? The device also may not have internet access on start up, i.e. it must start the service without an internet connection.

Thanks heaps, Matt

MattW
질문됨 4달 전202회 조회
1개 답변
1
수락된 답변

Hello,

Thanks for your interest in Greengrass. Have you tried this out? Greengrass always starts all components when Greengrass itself is started (which will happen when the device boots unless you do something to change that). There are no configuration options for this; components will always be started immediately.

Cheers,

Michael

AWS
전문가
답변함 4달 전
profile pictureAWS
전문가
Greg_B
검토됨 4달 전
  • Thank you for the prompt response, looks like i will go ahead and try some example components on an ec2 instance, thanks again.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠