mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
Converted tildebot to pinhook framework. Moved other things around. Util-ified stuff
This commit is contained in:
1 parent
bc102890b2
commit
5f1bf146c3
52 files changed
+141
-6679
No files matched your search
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ ! `pidof -sx banterbot.py` ]]; then
|
||||
#nohup ./banterbot.py -s 127.0.0.1:6667 -n banterbot -c \#tildetown \#bots >> banterlog 2>> banterlog &
|
||||
# check if the bot is already running
|
||||
if [[ ! `pidof -sx bot_launcher.py` || ! `ps -p $(pidof -sx bot_launcher.py) -o args | grep "\-n banterbot"` ]]; then
|
||||
echo "Starting banterbot"
|
||||
nohup ./banterbot.py -s 127.0.0.1:6667 -n banterbot -c \#tildetown \#bots >> banterlog 2>> banterlog &
|
||||
/home/krowbar/Code/irc/bot_launcher.py -n banterbot -s 127.0.0.1 -p 6667 -c \#tildetown \#bots
|
||||
# nohup /home/krowbar/Code/irc/bot_launcher.py -n banterbot -s 127.0.0.1:6667 -c \#bot_test
|
||||
else
|
||||
echo "Banterbot has already been started"
|
||||
fi
|
||||
Reference in new issue
Block a user