#!/bin/bash
-exec -a PyMSNt python main.py $*
-
# Comment out the above line and use the below for twistd
-#PPATH="/usr/local/PyMSNt"
-#twistd -oy "$PPATH/PyMSNt.tac" -r poll --pidfile "$PPATH/PyMSNt.pid" -l "$PPATH/debug.log"
+PPATH="/usr/local/PyMSNt"
+twistd -oy "$PPATH/PyMSNt.tac" -r poll --pidfile "$PPATH/PyMSNt.pid" -l "$PPATH/debug.log"