Launch AWS on startup

Development questions: create new plugins, add new features...
Post Reply
joakim
Posts: 14
Joined: Tue Aug 30, 2016 12:26 pm

Launch AWS on startup

Post by joakim » Tue Aug 30, 2016 2:17 pm

When the Meshlium restarts the Amazon IoT synchronisation is disabled.
Is there a way to enable this at startup each time the meshlium restarts?

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Launch AWS on startup

Post by libelium-dev » Wed Aug 31, 2016 8:44 am

Hi joakim,

Please, connect to Meshlium via SSH and run this command:

Code: Select all

remountrw && cp /bin/AmazonCloudD.sh /etc/init.d/ &&  update-rc.d -f AmazonCloudD.sh defaults 90
Restart Meshlium and check if AWS cloud starts automatically.

Best regards

joakim
Posts: 14
Joined: Tue Aug 30, 2016 12:26 pm

Re: Launch AWS on startup

Post by joakim » Fri May 19, 2017 7:51 am

How do I disable this?

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Launch AWS on startup

Post by libelium-dev » Fri May 19, 2017 8:11 am

Hi,

If you want to remove it from the boot sequence you can login via SSH and run this command:

Code: Select all

cd  /etc/init.d

Code: Select all

update-rc.d -f AmazonCloudD.sh remove
Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest