[IRCServices Coding] ircservices-chk script

Ballsy ballsy at mystical.net
Fri Nov 1 13:46:55 PST 2002


	When services DBs are updated in older versions of IRCServices (ie 
4.5.*), *.db.save files are created, which are then copied back to the 
normal .db file name.  I've had several occasions when services (4.5.43) 
would die during this DB file update, and I'd be left with a nick.db.save 
file, but no nick.db.  If I then restart services, no nick.db would be 
found (obviously), and a new one would be started from scratch...not a 
desired effect.
	Because of this functionality, I choose not to restart services 
using cron for fear of losing a .db file or 2.  While it's possible to 
write a more elaborate cron script which would check for these .save files 
and copy them into place in the aforementioned event before restarting 
services, does version 5.0.* have a better way around this at all ? 
	Planning to migrate to 5.0.2...they're looking great.

David