eggdrop parts from all channels, when restarting. (first part and then quit from irc)
does anybody know, how to prevent this? (script/source code change/...)
if you remove the parting the bot will leave the channels with a quit message, do you like that? in a restart the bot will completly be reset, this includes (but is not limited to) closing all ports.
This was built into eggdrop so you can script and make code changes without making the bot leave all the channels and stay online. The only time you have to restart is if you need to remove any old binds that the bot has in its binds list or to close ports as De Kus mentioned above.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
De Kus wrote:if you remove the parting the bot will leave the channels with a quit message, do you like that? in a restart the bot will completly be reset, this includes (but is not limited to) closing all ports.
yes i want this. i want eggdrop simply quit from irc. why? iam trying to connect through psybnc and when eggdrop simply quit without parting, psybnc will stay on channel. dunno how it will be working, but first i need to disable this parting.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Theres no way to exec botchk immediately without a bash script looking for it to die. The fastest conventional way is to setup autobotchk (Crontab) to check it every minute. A minute is the smallest time limit allowed by crontab.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
you cannot start a bash srcipt after the bot died, but you could call a bash script, that sends the SIGTERM to the bot, waits a bit and maybe calls botchk every second until the pid file is recreated or something like that.
other way: you use putquick quit to the server, wait a utimer 1 and restart the bot.
Just out of interest why do you need the bot to quit and rejoin the bnc?
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
why i need this? i want to have bot still online on channel (even when eggdrop is down, or restarting) so i use bouncer and that solves all my problems