Add a way to kill the process

This commit is contained in:
David Todd (c0de) 2018-03-10 22:54:02 -06:00
parent 0e13e7c1c5
commit fdf0c57b92
2 changed files with 2 additions and 1 deletions

1
kill.sh Executable file
View File

@ -0,0 +1 @@
kill $(ps | grep python | cut -d ' ' -f 1)

2
pushtest.py Normal file → Executable file
View File

@ -16,7 +16,7 @@ updater = Updater(token=os.environ['telegram_token'])
dispatcher = updater.dispatcher
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
level=logging.DEBUG)
level=logging.INFO)
ids = dict({})