I Have a Problem with the following Shell-Script which should start two screen sessions. When I execute it there is simply nothing happening. Does anybody have a clue why this is the case? My System is the newest raspbian.
#!/bin/sh
screen -Smd server node ./SensorService/bin/app.js
screen -Smd receiver python3 receiver.py
You may try putting an ampersand to the end of the second and the third lines to put the jobs in the background.
#!/bin/sh
screen -Smd server node ./SensorService/bin/app.js &
screen -Smd receiver python3 receiver.py &