run
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
run [2019/11/21 08:45] – [Run the Application not on Startup - Testing] graf | run [2021/10/20 09:44] – [Running the Delta Application] ursgraf | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== Running the Delta Application ====== | ====== Running the Delta Application ====== | ||
- | Usually you want run the application upon startup of the board after you applied power. | ||
- | ===== Run the Application on Startup ===== | + | Next, ssh into the target. Start your application with |
- | To run Delta application on startup just copy the //start.sh// from the // | + | |
< | < | ||
- | scp ./bbblue-scripts/start.sh debian@192.168.7.2:/ | + | ost@bblue:$ sudo ./bin/ |
</ | </ | ||
- | and make sure that it's executable: | + | |
+ | |||
+ | ===== Autostart ===== | ||
+ | |||
+ | Usually you want run the application upon startup of the board after you applied power. | ||
+ | For this purpose you have to copy two files from the // | ||
< | < | ||
- | debian@beaglebone: | + | $ scp ./bbblue-scripts/ |
+ | $ scp ./ | ||
</ | </ | ||
- | In the '' | + | Make sure that '' |
< | < | ||
- | sudo screen -dmS delta /opt/eeros/bin/ | + | ost@bblue:$ chmod +x bin/ |
</ | </ | ||
- | This script | + | Further, copy the file '' |
+ | < | ||
+ | ost@bblue:$ sudo mv bin/ | ||
+ | </ | ||
+ | As a final step you have to enable the service with | ||
+ | < | ||
+ | ost@bblue:$ sudo systemctl enable delta-startup | ||
+ | </ | ||
+ | and reboot with | ||
+ | < | ||
+ | ost@bblue:$ sudo / | ||
+ | </ | ||
+ | Now, the Delta application | ||
+ | |||
+ | :!: Please note that upon termination of the program the BeagleBoneBlue will shutdown and you will loose your ssh connection. | ||
+ | |||
+ | ===== Get Output of Loggers after Autostart ===== | ||
+ | The Delta application periodically logs various state information. To see this output the application was started | ||
+ | < | ||
+ | then reattach with | ||
< | < | ||
- | debian@beaglebone:$ sudo screen -r delta | + | ost@bblue:$ sudo screen -r delta |
</ | </ | ||
- | If the Delta application | + | You could also terminate |
+ | :!: Please note that upon termination of the program the BeagleBoneBlue will shutdown and you will loose your ssh connection. | ||
---- | ---- | ||
**Next: [[dev|]]** | **Next: [[dev|]]** |
run.txt · Last modified: 2021/10/22 09:57 by ursgraf