Recent Changes - Search:

MineTest?

IRC?

Develop?

PC?

Windows?

Linux?

PmWiki

pmwiki.org

edit SideBar

EggDrop

apt-get install tcl8.6
apt-get install tcl8.6-dev
apt-get install zlib1g
apt-get install zlib1g-dev
apt-get install libssl-dev
apt-get install tcl-tls


mkdir eggdrop
cd eggdrop/
git init
git remote add github https://github.com/eggheads/eggdrop.git
git pull github release/1.8.4

mkdir dist


./configure --enable-tls --enable-ipv6

src/eggdrop.h:
#define LANGDIR  "/usr/share/eggdrop/language"   /* language file directory */

make config
make
make DEST=$(pwd)/dist install


groupadd -g 400 eggdrop
useradd -g eggdrop -u 400 eggdrop -d /var/lib/eggdrop -s /bin/false

mkdir /var/lib/eggdrop
mkdir /var/log/eggdrop
chown eggdrop:eggdrop /var/lib/eggdrop
chown eggdrop:eggdrop /var/log/eggdrop
chmod 700 /var/lib/eggdrop
chmod 700 /var/log/eggdrop


/etc/systemd/system/eggdrop.service:

[Unit]
Description=EggDrop service
After=network.target

[Service]
Type=forking
User=eggdrop
Group=eggdrop
PermissionsStartOnly=True
ExecStart=/usr/sbin/eggdrop -m /etc/eggdrop.conf
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/lib/eggdrop/EggDropBot.pid
Restart=on-failure
RestartSec=60s

[Install]
WantedBy=multi-user.target
Edit - History - Print - Recent Changes - Search
Page last modified on March 26, 2024, at 11:36 PM