Page 1 of 1

Need help!! -- Build a OTTD Server on Linux.

Posted: 13 Aug 2008 01:44
by dickhunt
I am a chinese, I'm sorry for my english.

My question:

I want build a OpenTTD server on my Linux Server(CentOS 5.1), but i have not a X-Windows on my
Server. I want the OTTD will autoboot with linux, how to do it ??

And : When OTTD run as a system daemon(IN /etc/rc.d/rc.local: /ottd/openttd -D &) , Where is the Openttd.cfg ??

And: Who have Openttd.cfg manual??? I can found it in OTTD's wiki(maybe my pool english??).

Thanks a lot!!!

Re: Need help!! -- Build a OTTD Server on Linux.

Posted: 13 Aug 2008 09:20
by dihedral
when you compile OpenTTD it will not find X and therefore build a dedicated server only version

my personal suggestion would be run not run openttd via rc.d
run it as a normal user in screen - then you can at least access the console if you need to

as that user install a cron job (crontab -e) and use @boot to define that the cronjob is executed every time the server boots


you can also use things like autopilot or ap+ with your server, which provides a bridge to irc an many more features
(http://openttdcoop.org/wiki/Autopilot and http://openttdcoop.org/wiki/Autopilot/ap+)