On 9/6/2019 12:55 PM, Albert wrote:
Hi, Robert. Thanks for quick reply.
Indeed, after changing to ExecStart=/var/lib/cloud9/Projects/scriptname.sh
ExecStart=/var/lib/cloud9/Projects/server.js <-- maybe ?
It still showing error.
Do you or anyone knows how to solve the problem?
● scriptname.service
Loaded: loaded (/etc/systemd/system/scriptname.service; enabled;
vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-09-06 19:52:26
UTC; 15s ago
Main PID: 2595 (code=exited, status=1/FAILURE)
Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at
Object.Module._extensions..js (module.js:586:10)
Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at Module.load
(module.js:494:32)
Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at tryModuleLoad
(module.js:453:12)
Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at
Function.Module._load (module.js:445:3)
Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at Module.runMain
(module.js:611:10)
Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at run
(bootstrap_node.js:394:7)
Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at startup
(bootstrap_node.js:160:9)
Sep 06 19:52:26 beaglebone systemd[1]: scriptname.service: Main
process exited, code=exited, status=1/FAILURE
Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at startup
(bootstrap_node.js:160:9)
Sep 06 19:52:26 beaglebone systemd[1]: scriptname.service: Main
process exited, code=exited, status=1/FAILURE
lines 1-13...skipping...
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/a494250e-48a4-417d-a8c7-c11f364d7090%40googlegroups.com
<https://groups.google.com/d/msgid/beagleboard/a494250e-48a4-417d-a8c7-c11f364d7090%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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/21b2f1a0-9912-520a-1370-ea029c072a0e%40gmail.com.