On Fri, Sep 6, 2019 at 1:15 PM Albert <[email protected]> wrote:
>
> I want my BeagleBone machine to automatically start a script called 
> server.js. It includes BoneScript (BeagleBone's unique function) and many 
> functions including reading voltage and ampere from other machines.
>
> I used this tutorial Executing a script on startup using BeagleBone Black
>
> It kept showing status=203/EXEC error.
>
> I tried the same tutorial for simple programs without Bonescript and 
> Functions. Indeed, simple sending and receiving scripts are working without 
> any issue.
>
> How can I remove the error? I think it happens from importing BeagleScript 
> and Functions. I'm not familiar with Linux environment.
>
> Can anyone help to solve the issue?

ExecStart=/var/lib/cloud9/Projects echo ****** | sudo -S bash scriptname.sh

don't do that echo * | sudo stuff...  it's already root...

ExecStart=/var/lib/cloud9/Projects/scriptname.sh

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgS6PqJ5kOjnSeJSsqK8RCBpLrPz%2BSn_HoRQt7X%3Dd06EQ%40mail.gmail.com.

Reply via email to