Page 1 of 1

Unreal via command line

Posted: Mon Nov 14, 2005 8:04 pm
by EHCanadian
Hey,

I'm using the Unreal binary (windows) version

I was wondering if you can start unreal via cmd line and change the unreal conf file location or do I have to compile to do so

Posted: Mon Nov 14, 2005 9:49 pm
by Jason
Option 1) Make a unrealircd.conf that does nothing but 'include "yourconf.conf";'

Option 2) Recompile

Option 3) Nonexistant

Posted: Mon Nov 14, 2005 10:09 pm
by Syzop
Actually you can just uninstall and reinstall UnrealIRCd to the new path you want ;p.

When doing that, you might also consider running it as a service (that is an option you have during the install process), that way there will be no wircd GUI (and then things like 'unreal start' and 'unreal stop' [in the unrealircd dir] will work).

Posted: Mon Nov 14, 2005 10:50 pm
by EHCanadian
See what I was trying to do was put all the conf in one folder motds in another and such so the dir wasn't such a mess but I can deal with 3 config files out of place hehehe

Posted: Mon Nov 14, 2005 11:32 pm
by Syzop
Then Jasons option 1 is probably a good idea?

Posted: Tue Nov 15, 2005 1:05 am
by Jason
Unfortunately, Syzop, it will not take care of motds and rules, etc. This might be a nice feature, optional block changing the path/filename of ((oper|bot)?motd|rules)

Posted: Tue Nov 15, 2005 1:11 am
by Syzop
A simple tld block for *@* should do the trick :).

Though, then you cannot decide to not have a rules file, but hey.. that isn't that bad ;p

perhaps a requirement to get rid of :P (that both tld::motd and tld::rules should be present).

Posted: Tue Nov 15, 2005 1:25 am
by EHCanadian
correct, I was able to move some of the conf files into the conf folder by editing there placement via unrealircd.conf long with motds, logs and such the only 3 files I couldn't seem to move was unreal's & IRC Services mod and conf files but over all my dir for unreal looks alot cleaner and more org then before :)

Posted: Tue Nov 15, 2005 2:51 am
by Jason
The things from src/modules? Oh. just modules/ in your case, I think? You can move those, and your alias configurations. Just remember that the path is not relative to the including config, but to the unreal installation directory.