]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/2000/000906.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 2000 / 000906.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Reloading services config without restarting?
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Reloading%20services%20config%20without%20restarting%3F&In-Reply-To=NEBBLMHKKLGHANKONFLMGEHPCHAA.adam%40wiredrave.com">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="000898.html">
11 <LINK REL="Next" HREF="000900.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Reloading services config without restarting?</H1>
15 <B>dreamer at darkness.gr</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Reloading%20services%20config%20without%20restarting%3F&In-Reply-To=NEBBLMHKKLGHANKONFLMGEHPCHAA.adam%40wiredrave.com"
17 TITLE="[IRCServices] Reloading services config without restarting?">dreamer at darkness.gr
18 </A><BR>
19 <I>Wed Oct 18 02:35:25 PDT 2000</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000898.html">[IRCServices] Reloading services config without restarting?
22 </A></li>
23 <LI>Next message: <A HREF="000900.html">[IRCServices] Errors compiling ircservices
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#906">[ date ]</a>
27 <a href="thread.html#906">[ thread ]</a>
28 <a href="subject.html#906">[ subject ]</a>
29 <a href="author.html#906">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Greetings all, but sure, there is one. The function (read_config) that is
35 primary called every time services are loading. It is simple as this :
36
37
38 static void do_rehash(User *u)
39 {
40 if(read_config(1))
41 wallops(s_OperServ, &quot;Services root is rehashing config file while whistling innocently&quot;);
42 else
43 wallops(s_OperServ, &quot;An error occured loading services configuration&quot;);
44 }
45
46
47 Sorry for posting parts of code here.
48
49 Regards,
50 Nick Krassas
51 <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircadmin at darkness.irc.gr</A>
52
53
54
55
56 &gt;<i> I've been wondering this myself actually.... Sure would be nice if there
57 </I>&gt;<i> was.
58 </I>&gt;<i>
59 </I>&gt;<i> Adam
60 </I>
61 &gt;<i>
62 </I>&gt;<i> Hi there
63 </I>&gt;<i>
64 </I>&gt;<i> I was wondering if there was a way to reload the IRCServices config file
65 </I>&gt;<i> without restarting services .. like a /rehash for services.
66 </I>&gt;<i>
67 </I>&gt;<i> Thanks,
68 </I>&gt;<i>
69 </I>&gt;<i> Tim
70 </I>
71
72 ---------------------------------------------------------------
73 To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at snow.shadowfire.org</A>
74 with &quot;unsubscribe ircservices&quot; in the body, without the quotes.
75
76
77 </PRE>
78
79 <!--endarticle-->
80 <HR>
81 <P><UL>
82 <!--threads-->
83 <LI>Previous message: <A HREF="000898.html">[IRCServices] Reloading services config without restarting?
84 </A></li>
85 <LI>Next message: <A HREF="000900.html">[IRCServices] Errors compiling ircservices
86 </A></li>
87 <LI> <B>Messages sorted by:</B>
88 <a href="date.html#906">[ date ]</a>
89 <a href="thread.html#906">[ thread ]</a>
90 <a href="subject.html#906">[ subject ]</a>
91 <a href="author.html#906">[ author ]</a>
92 </LI>
93 </UL>
94
95 </body></html>