Page 1 of 1

Having unreal start on boot

Posted: Sat Aug 28, 2004 11:49 pm
by pete212
i run linux valhalla 7.3 and i was wondering how to get unreal to start up on boot, so i dont have to login and then go into the unreal dir and start it etc...

anyone know how?

Posted: Sun Aug 29, 2004 12:06 am
by jewles
what you are looking for is called crontab. it's a script you run that checks and starts processes. unreal has a sample crontab in Unreal3.2/ircdcron.

Posted: Sun Aug 29, 2004 4:42 am
by pete212
0,1,2,3,4,5 * * * * /home/admin/Server/Unreal3.2/ircdcron/ircdchk



^ is in my .cron and it isnt working :S

Posted: Sun Aug 29, 2004 8:27 am
by Dukat
pete212 wrote:0,1,2,3,4,5 * * * * /home/admin/Server/Unreal3.2/ircdcron/ircdchk
Are you sure it is not working? How long did you wait?
You DO know what 0,1,2,3,4,5 * * * * means, right?

Posted: Sun Aug 29, 2004 11:44 am
by AngryWolf
Your first question points to the fact that probably this is the first time you've heard of crontab. If that's right, I suggest you to read a documentation about crontab before using it.

Posted: Sun Aug 29, 2004 1:41 pm
by pete212
i do know what it is now, but its just the way i did it didnt work, i even got mail.

Posted: Sun Aug 29, 2004 4:29 pm
by AngryWolf
It's a good idea to read that mail. You receive such mail messages everytime when the script you called in crontab sends something to the standard output or standard error. They can be useful to detect if there was a failure in automatically starting UnrealIRCd and to find a solution.