Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 6 lines (3 sloc) 241 Bytes
#!/bin/bash
export LANG="en_US.utf8"
LANG="en_US.utf8" PATH="`pwd`/myvenv/bin:$PATH" /usr/bin/pm2 start main.py --name="$1" --force --output="/var/log/pajbot/$1.log" --error="/var/log/pajbot/$1.err" --merge-logs -- --config configs/$1.ini