Unreal via command line

These are old archives. They are kept for historic purposes only.
Post Reply
EHCanadian
Posts: 5
Joined: Mon Nov 14, 2005 8:01 pm
Location: Canada, Ontario, Hamilton
Contact:

Unreal via command line

Post 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
Lag is the number 1 killer
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Option 1) Make a unrealircd.conf that does nothing but 'include "yourconf.conf";'

Option 2) Recompile

Option 3) Nonexistant
Why the hell can't my signature be empty?
"Your message contains too few characters."
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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).
EHCanadian
Posts: 5
Joined: Mon Nov 14, 2005 8:01 pm
Location: Canada, Ontario, Hamilton
Contact:

Post 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
Lag is the number 1 killer
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Then Jasons option 1 is probably a good idea?
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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)
Why the hell can't my signature be empty?
"Your message contains too few characters."
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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).
EHCanadian
Posts: 5
Joined: Mon Nov 14, 2005 8:01 pm
Location: Canada, Ontario, Hamilton
Contact:

Post 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 :)
Lag is the number 1 killer
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply