Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
Update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Virenbar committed Apr 9, 2021
1 parent c68ff73 commit fb1d5eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
#echo "Directory: $DIR"
name="DBot"
if ! screen -list | grep -q $name; then
screen -dmS $name
fi
screen -S $name -X stuff 'npm run start
'
screen -S $name -p 0 -X eval 'stuff "npm run start"\015'

0 comments on commit fb1d5eb

Please sign in to comment.