]> Pileus Git - ~andy/sunrise/blob - net-irc/iroffer-dinoex/files/iroffer-dinoex-HOWTO
518626f81d4459709f582cfe7bbd932a219354e3
[~andy/sunrise] / net-irc / iroffer-dinoex / files / iroffer-dinoex-HOWTO
1 --------------
2 Configuration:
3 --------------
4 Samples of configuration files are in "/usr/share/doc/iroffer-dinoex-*"
5
6 --------------
7 Simple launch:
8 --------------
9 iroffer <MyBot.config>
10 Or i18n version: iroffer-{de,fr,it} <MyBot.config>
11
12 -------------------------------
13 Remote administration (by IRC):
14 -------------------------------
15 If you want to administrate iroffer-dinoex on IRC, you have to generate an encrypt password:
16         launch "iroffer -c" (or translated versions "iroffer-{de,fr,it}")
17         change the variable "adminpass" of your file "*.config" with the given hash
18         specify the allowed hosts with "adminhost"
19
20 You can find administration commands on "help-admin-*.txt" in "/usr/share/doc/iroffer-dinoex-*"
21
22 -----------------
23 Launch as daemon:
24 -----------------
25 To create a new daemon, you have to:
26         copy sample configuration file from "/etc/iroffer-dinoex/": cp -p /etc/iroffer-dinoex/******.config /etc/iroffer-dinoex/YourBot.config
27         adapt "YourBot.config" (take care of variables "pid", "logfile" and "statefile"; "mybot" become "YourBot")
28         create a symbolic link: ln -s /etc/init.d/iroffer-dinoex /etc/init.d/iroffer-dinoex.YourBot
29         rc-update add iroffer-dinoex.YourBot default
30
31 ------------
32 Advance use:
33 ------------
34 See "/usr/share/doc/iroffer-dinoex-*" and "man iroffer"