QuakeNet Lightweight Channel Service
sudo apt update && sudo apt upgrade -y
sudo apt install libpcre3 libpcre3-dev -y
sudo apt install zlib1g zlib1g-dev -y
$ sudo adduser lw
$ su - lw
$ git clone https://github.com/quakenet/lightweight
$ cd lightweight/
$ cp lightweight.conf.example lightweight.conf
$ nano lightweight.conf
$ make
$ ./lightweight
Commands:
| Start: | ./lightweight |
| Start **: | nohup ./lightweight & |
| Stop: | pkill -9 lightweight |
** This will start the bot in the background and allow it to continue running after you close SSH.
Change Auth Level for Admin Account
open home/lw/lightweight/accounts.0
Find your account name and change 1 to 240
Crontab:
crontab -e
@reboot sleep 90 && cd /home/lw/lightweight && nohup ./lightweight &