how to set up a server using OS X by someone else
- 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
I don't know how to do can someone send me a step by step process.
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.
or you can export the variable in your ~/.profile:
and use the script like normal:
Thats the only variable you may need to change.
* 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
Code: Select all
export DATADIR="/Applications/Armagetron Advanced Dedicated"
Code: Select all
armagetronad-manager start
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.
- longballlasch
- On Lightcycle Grid
- Posts: 13
- Joined: Tue Mar 21, 2006 5:30 am
- Location: MN st. pual
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