[IRCServices] out of buffer?
Torbjörn Svensson
azoff at se.linux.org
Tue Jan 25 00:05:58 PST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Church wrote:
| On second thought, Services always creates a lock file (.lock by
| default) in the data directory while it's writing, and refuses to write
| if the file exists, so you could do something like (in Perl):
|
| sysopen LOCK, "/.../.lock", O_CREAT|O_EXCL, 0 or die "locked\n";
| system("ircservices -export");
| close LOCK;
| unlink "/.../.lock";
Ahh, nice. Just the signal missing ;)
Also, if ircservices is started with -export it will generat some rows
in the log, here's an cut-n-paste of it:
[Jan 24 19:04:01 2005] IRC Services 5.0.44 starting up
[Jan 24 19:04:01 2005] Terminating, reason unknown
The reason shouldn't been 'unkown' ;)
- --
~ .''`. Torbjörn Svensson, azoff (at) se (dot) linux (dot) org
~ : :' : 7EB9 2DC5 61AE DAB5 7099 BAC6 798E E39A DBDB 0CFD
~ `. `' http://azoff.homeip.net | http://azoff.tty0.org
~ `-- http://www.se.linux.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB9f3leY7jmtvbDP0RAgjLAKCAEAkNEw7nPQLpDNViTMtcbztrbwCeJOUd
ZRrNKsxF/+KE5X8nt8Ka7Q8=
=U/1o
-----END PGP SIGNATURE-----