diff --git a/bot.py b/bot.py index bd256e4..d93ff15 100755 --- a/bot.py +++ b/bot.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python -u # -*- coding: utf-8 -1 -*- # Welcome to WelcomeBot. Find source, documentation, etc here: https://github.com/shaunagm/WelcomeBot/ Licensed https://creativecommons.org/licenses/by-sa/2.0/ diff --git a/bot.sh b/bot.sh index 3a31b0e..f1eb13d 100755 --- a/bot.sh +++ b/bot.sh @@ -10,6 +10,6 @@ cd "$BINDIR" #nohup /srv/welcomebot/git/bot.py >> /dev/null 2>>../welcomebot.log & -nohup python -u "$BINDIR/bot.py" 2>&1 | grep -v "^$" >> "$HOMEDIR/welcomebot.log" & +nohup "$BINDIR/bot.py" 2>&1 | grep -v "^$" >> "$HOMEDIR/welcomebot.log" &