Creating script
Step 1. Install screen package
sudo apt-get install screen
Step 2. Create start script
nano start.sh
Then type
screen -dmS playit playit
Click ctrl+x then y
Running script
Type:
sh start.sh
Seeing playit console
Type:
screen -r playit
To exit press ctrl+a+d