Page 1 of 1
Automatic startup?
Posted: Thu Nov 09, 2006 7:48 pm
by dan_seguin90
Is tehre a way to get UNrealircd 3.2.5 to start automatically upon starting of teh computer??
Posted: Thu Nov 09, 2006 8:27 pm
by Jobe
Can we have a little more information like which Operating System are you using?
Posted: Thu Nov 09, 2006 8:31 pm
by dan_seguin90
Fedora core 5 is what im running
.
Posted: Thu Nov 09, 2006 10:05 pm
by Jobe
Then youll probably want to look into using crontab and the cron scripts provided in the Unreal3.2/ircdcron/ directory.
Posted: Thu Nov 09, 2006 10:09 pm
by dan_seguin90
ye okk use that but how do i use that./....... im kinda new i need sum level of detail.
Re: Automatic startup?
Posted: Thu Nov 09, 2006 11:15 pm
by Grunt
dan_seguin90 wrote:Is tehre a way to get UNrealircd 3.2.5 to start automatically upon starting of teh computer??
Yes. (And that IS the correct answer to your question.)
If you asked how to do it, i'd tell you:
Go to /etc/rc.d and create an executable shell script that will start your UnrealIRCd. And you're done.
Posted: Fri Nov 10, 2006 10:11 am
by Jobe
The only thing i have to say about Grunt's sollution is that it starts UnrealIRCd as root which is strongly advised against. That doesnt however mean it wont work because if you provide the correct path it should work.
As for setting up your crontab (if you can) the first thing youll need to do is edit ircdchk at /path/to/ircdcron/ircdchk so that the paths to the ircd excutable and to the ircd.pid file are correct.
The next step is to use "crontab -e" and add the line found in ircd.cron at /path/to/ircdcron/ircd.cron and make sure the path in that line is the correct path to the ircdchk file.