how to set up a server using OS X by someone else

Post here if you need help setting up your server, etc.
Post Reply
User avatar
longballlasch
On Lightcycle Grid
Posts: 13
Joined: Tue Mar 21, 2006 5:30 am
Location: MN st. pual

how to set up a server using OS X by someone else

Post by longballlasch »

I don't know how to do can someone send me a step by step process.
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

First some usefull links:
* http://wiki.armagetronad.net/index.php/ ... nistration
* http://wiki.armagetronad.net/index.php/ ... tion_Guide

Basically, use settings_custom.cfg and server_info.cfg. Don't modify the config files directly. It will be a pain to upgrade your server if you do.

Attached is the script I use to manage my server. It is basically the Linux starter scripted hacked up. If the Armagetron Advanced Dedicated directory is at ~/, it will just work. Otherwise you need to tell the script where it is with the DATADIR variable.

Code: Select all

DATADIR="/Applications/Armagetron Advanced Dedicated" armagetronad-manager start
or you can export the variable in your ~/.profile:

Code: Select all

export DATADIR="/Applications/Armagetron Advanced Dedicated"
and use the script like normal:

Code: Select all

armagetronad-manager start
Thats the only variable you may need to change.

Code: Select all

armagetronad-manager --help
Usefull enviroment variables:
  DATADIR         DEFAULT=$HOME/Armagetron Advanced Dedicated
  USERDATADIR     DEFAULT=$HOME/Library/Application Support/Armagetron Advanced Dedicated
  LOGDIR          DEFAULT=$VARDIR/logs
  COMMANDFILE     DEFAULT=$CONFIGDIR/console.txt

Commands:
  start
  stop
  restart
  status
  rotate_logs
Attachments
armagetronad-manager.bz2
(1.19 KiB) Downloaded 272 times
Last edited by dlh on Tue Mar 21, 2006 3:51 pm, edited 1 time in total.
User avatar
longballlasch
On Lightcycle Grid
Posts: 13
Joined: Tue Mar 21, 2006 5:30 am
Location: MN st. pual

Post by longballlasch »

thxs nemo
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

oops, the help output was a little off. I forgot to update it. Heres the corrected version.

Code: Select all

$ ./armagetronad-manager --help
Usefull enviroment variables:
  DATADIR         DEFAULT=$HOME/Armagetron Advanced Dedicated
  USERDATADIR     DEFAULT=$HOME/Library/Application Support/Armagetron Advanced Dedicated
  LOGDIR          DEFAULT=$USERDATADIR/var/logs
  COMMANDFILE     DEFAULT=$USERDATADIR/config/console.txt

Commands:
  start
  stop
  restart
  status
  rotate_logs
Attachments
armagetronad-manager-1.1.tar.gz
(1.23 KiB) Downloaded 276 times
Post Reply