start.sh (144B)
1 2 3 4 5 6 7 8 9
#!/bin/sh yarn install yarn build . ./.env # Starting the bot. PID="$(sh -c 'echo $$; exec yarn start >./.log 2>&1' &)" echo "$PID" > ./.pid