Run a command in the background witch automatically rerun Raw

Shell
#!/bin/bash

if [[ $1 == "--non-background" ]]
then
        yourCommand
        sleep 120
        ./start.sh
        exit
else
        screen -AmdS soulbot ./start.sh --non-background
fi
Source

Also in Shell: