Remote include

These are old archives. They are kept for historic purposes only.
Post Reply
Posts: 1
Joined: Tue Jun 07, 2011 12:04 pm

Remote include

Post by cvdeeden »

I'm trying to remotely include the unrealircd.conf of an other irc server (linked with the server which should include it), but it doesn't get included and it's using his old configuration settings, but I've removed everything but me {} and listen {}.

Do I need to restart te server to have it changed?

I'm asking because I don't want to restart if there's no need for it, I've got a lot of users on it so I don't want to restart without any reason or restart when it doesn't help.

Using include " ... lircd.conf";
Posts: 338
Joined: Sun Jul 08, 2007 7:44 am
Location: The Netherlands

Re: Remote include

Post by Casper »

If a simple /rehash (while logged in on SSH: ./unreal rehash) doesn't work, I'm afraid you will have to restart. Try a rehash anyway, since it might come up with errors. This way your server will have the most uptime, given that the IRCd won't start up again if there are errors in your config.
Ex Network-Administrator
UnrealIRCd head coder
Posts: 1961
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl

Re: Remote include

Post by Syzop »

Adding remote includes to your configuration file requires a rehash, there's no reason to restart.

If it doesn't work, even though you have an include line such as the one you mentioned, then you'll get an error or warning. If you don't get an error, and you're sure the remote include isn't working either, then most likely you added it to a file or section which isn't read (eg: commented out).

Of course, if you previously had your UnrealIRCd compiled without remote includes, and have recompiled WITH.. then yes, you need to restart.
Post Reply