]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices] out of buffer? | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <LINK REL="made" HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20out%20of%20buffer%3F&In-Reply-To=41f5e06b.06470%40achurch.org"> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="004776.html"> | |
11 | <LINK REL="Next" HREF="004784.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] out of buffer?</H1> | |
15 | <B>Torbjörn Svensson</B> | |
16 | <A HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20out%20of%20buffer%3F&In-Reply-To=41f5e06b.06470%40achurch.org" | |
17 | TITLE="[IRCServices] out of buffer?">azoff at se.linux.org | |
18 | </A><BR> | |
19 | <I>Tue Jan 25 00:05:58 PST 2005</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="004776.html">[IRCServices] out of buffer? | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="004784.html">[IRCServices] out of buffer? | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#4779">[ date ]</a> | |
27 | <a href="thread.html#4779">[ thread ]</a> | |
28 | <a href="subject.html#4779">[ subject ]</a> | |
29 | <a href="author.html#4779">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>-----BEGIN PGP SIGNED MESSAGE----- | |
35 | Hash: SHA1 | |
36 | ||
37 | Andrew Church wrote: | |
38 | |<i> On second thought, Services always creates a lock file (.lock by | |
39 | </I>|<i> default) in the data directory while it's writing, and refuses to write | |
40 | </I>|<i> if the file exists, so you could do something like (in Perl): | |
41 | </I>|<i> | |
42 | </I>|<i> sysopen LOCK, "/.../.lock", O_CREAT|O_EXCL, 0 or die "locked\n"; | |
43 | </I>|<i> system("ircservices -export"); | |
44 | </I>|<i> close LOCK; | |
45 | </I>|<i> unlink "/.../.lock"; | |
46 | </I> | |
47 | Ahh, nice. Just the signal missing ;) | |
48 | ||
49 | Also, if ircservices is started with -export it will generat some rows | |
50 | in the log, here's an cut-n-paste of it: | |
51 | [Jan 24 19:04:01 2005] IRC Services 5.0.44 starting up | |
52 | [Jan 24 19:04:01 2005] Terminating, reason unknown | |
53 | ||
54 | The reason shouldn't been 'unkown' ;) | |
55 | ||
56 | - -- | |
57 | ~ .''`. Torbjörn Svensson, azoff (at) se (dot) linux (dot) org | |
58 | ~ : :' : 7EB9 2DC5 61AE DAB5 7099 BAC6 798E E39A DBDB 0CFD | |
59 | ~ `. `' <A HREF="http://azoff.homeip.net">http://azoff.homeip.net</A> | <A HREF="http://azoff.tty0.org">http://azoff.tty0.org</A> | |
60 | ~ `-- <A HREF="http://www.se.linux.org">http://www.se.linux.org</A> | |
61 | ||
62 | -----BEGIN PGP SIGNATURE----- | |
63 | Version: GnuPG v1.2.6 (GNU/Linux) | |
64 | Comment: Using GnuPG with Thunderbird - <A HREF="http://enigmail.mozdev.org">http://enigmail.mozdev.org</A> | |
65 | ||
66 | iD8DBQFB9f3leY7jmtvbDP0RAgjLAKCAEAkNEw7nPQLpDNViTMtcbztrbwCeJOUd | |
67 | ZRrNKsxF/+KE5X8nt8Ka7Q8= | |
68 | =U/1o | |
69 | -----END PGP SIGNATURE----- | |
70 | </PRE> | |
71 | ||
72 | ||
73 | <!--endarticle--> | |
74 | <HR> | |
75 | <P><UL> | |
76 | <!--threads--> | |
77 | <LI>Previous message: <A HREF="004776.html">[IRCServices] out of buffer? | |
78 | </A></li> | |
79 | <LI>Next message: <A HREF="004784.html">[IRCServices] out of buffer? | |
80 | </A></li> | |
81 | <LI> <B>Messages sorted by:</B> | |
82 | <a href="date.html#4779">[ date ]</a> | |
83 | <a href="thread.html#4779">[ thread ]</a> | |
84 | <a href="subject.html#4779">[ subject ]</a> | |
85 | <a href="author.html#4779">[ author ]</a> | |
86 | </LI> | |
87 | </UL> | |
88 | ||
89 | </body></html> |