User Tools

Site Tools


devel:navbot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:navbot [2024/05/13 09:51]
morten remove obsolete page
— (current)
Line 1: Line 1:
-====== Navbot ====== 
- 
-navbot is a simple ircbot that triggers on #\d+ and looks up the corresponding Launchpad bug. It is put together using existing components from pycat and catsitter. To setup navbot the following steps have been performed: 
- 
- 
-    createuser navbot --disabled-password 
-    aptitude install git-core python-irclib 
-    sudo -i 
-    cd ~navbot 
-    git clone git://​github.com/​adamcik/​pycat.git 
-    git clone git://​github.com/​adamcik/​catstitter.git 
-    touch /​var/​log/​navbot.log 
-    mkdir /​var/​run/​navbot 
-    chown navbot /​var/​log/​navbot.log /​var/​run/​navbot/​ 
-    echo ./​pycat/​pycat.py chat.eu.freenode.net navbot nav --script=./​catsitter/​catsitter.py --args="​--settings=nav"​ > /​home/​navbot/​start-navbot 
-    chmod +x /​home/​navbot/​start-navbot 
-    echo navbot chdir=/​home/​navbot/,​output=/​var/​log/​navbot.log,​pidfile=/​var/​run/​navbot/​navbot.pid,​command=/​home/​navbot/​start-navbot >> /​etc/​daemon.conf 
-    echo @reboot root daemon --name=navbot --user=navbot > /​etc/​cron.d/​navbot