hi there
for my project I have been wrapping my systemd services using the Linux screen command. You can then reattach to them from a shell and thus read all system.out (and also interact with them using a CLI). http://linux.die.net/man/1/screen to install: sudo apt-get install screen so, for example, I use the following to start some java code in ./run-java.sh screen -dmS javaclient java -server -jar test-client.jar 10.0.1.5 this run the code & then detaches the CLI as a screen titled javaclient I can then start this script using systemd to reattach: screen -R javaclient to subsequently detach: ctrl-a d more info https://www.mattcutts.com/blog/a-quick-tutorial-on-screen/ https://www.mattcutts.com/blog/screen-power-tips-screenrc/ -- 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]. For more options, visit https://groups.google.com/d/optout.
