Commit c4a286c1 authored by Melroy van den Berg's avatar Melroy van den Berg

change dir to script directory

parent b9d5668c
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR
screen -dmS bot bash -c 'export $(cat tokens.env | xargs) && NODE_ENV=production node src/index.js'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment