No.juanamores wrote:I want to put 2 bots eggdrops on the same server (VPS).
The questions I have are:
1) I must install and compile the new eggdrop bot for the new?
One of the things that must be configured in the botchk file is the name of the .conf file used to run the bot.2) I can be installed on a different path or process eggdrop different name? botchk tcl, how distinguishes to both processes eggdrop?
Each conf belongs to each of the bots../autobotchk eggdrop.conf -noemail -5
./autobotchk eggdrop2.conf -noemail -5
But when viewing cron from VPS withcrontab -l command displays only one because a new file called BOT.botchk is created, and this, it turns to overwrite the last autobotchk created../autobotchk eggdrop.conf -noemail -5
./autobotchk2 eggdrop2.conf -noemail -5
Is There a solution to accept both cron for each of the bots?[juanamores@vps174886 eggdrop]$ crontab -l
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/juanamores/eggdrop/BOT.botchk >/dev/null 2>&1
Code: Select all
# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
/home/juanamores/eggdrop/eggdrop eggdrop.conf
/home/juanamores/eggdrop/eggdrop eggdrop2.conf
That is good to know.juanamores wrote:Thanks willyw fixed!
Another doubt that posted in another thread and I got no answer:
For the bot to run when you start the operating system, I found this info, not if it is correct, you tell me if it's okay right?
We must change the rc.local file located in the following path /etc/rc.localIt is correct syntax of the last 2 lines?Code: Select all
# cat /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. /home/juanamores/eggdrop/eggdrop eggdrop.conf /home/juanamores/eggdrop/eggdrop eggdrop2.conf
I thought you could only put eggdrop executable (./eggdrop eggdrop.conf).willyw wrote: Why do this command? "eggdrop eggdrop2.conf" Why not just run the Bot.botchk file ? ... just something to think about.
Try it. Experiment.juanamores wrote: ....
You can put the Bot.botchk there?
To try would have to reboot my server and bring down everything that is in it. I think it is better to wait one day fails VPS and watch the behavior of the rc.local file.willyw wrote: Try it. Experiment.
...
In my case I have 2 bots I guess it should be:De Kus wrote: put in a script that makes:
cd /home/user/eggdrop
su user -c ./eggdrop
Code: Select all
cd /home/juanamores/eggdrop
su juanamores -c ./eggdrop eggdrop.conf
su juanamores -c ./eggdrop eggdrop2.conf
Code: Select all
istok@matrix:~$ crontab -l
0,10,20,30,40,50 * * * * /home/istok/eggdrop/Dog_Matix.botchk >/dev/null 2>&1
0,10,20,30,40,50 * * * * /home/istok/eggdrop/chatbox.botchk >/dev/null 2>&1
0,10,20,30,40,50 * * * * /home/istok/eggdrop/abusive.botchk >/dev/null 2>&1
0,10,20,30,40,50 * * * * /home/istok/eggdrop/Get_A_Fix.botchk >/dev/null 2>&1
istok@matrix:~$