Installation

Post here if you need help setting up your server, etc.
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Installation

Post by Z-Man »

It does, but your distribution is apparently a bit weird. Here's how it looks for me:

Code: Select all

manuel@scooter:~$ ls /etc/default/armagetronad-styct-dedicated -l
-rw-r--r-- 1 root root 477 Sep 26  2011 /etc/default/armagetronad-styct-dedicated
manuel@scooter:~$ cat /etc/default/armagetronad-styct-dedicated 
# 0 = don't start, 1 = start
ARMAGETRONAD_SERVER_START=0
# User to run as.
ARMAGETRONAD_USER=armagetronad-styct
# Directories for variable data.
VARDIR=/var/games/armagetronad-styct
# Directories for pid and log files.
PIDDIR=/var/games/armagetronad-styct
LOGDIR=/var/log
# pidfile names.
NAME=armagetronad-styct-dedicated
STARTERPIDFILE=$PIDDIR/$NAME-starter.pid
MAINPIDFILE=$PIDDIR/$NAME.pid
# Logfile.
LOGFILE=$LOGDIR/$NAME.log
# Niceness level of the server.
NICENESS="-5"
So, regular file, edit the second line to activate.
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: Installation

Post by LOVER$BOY »

Z-Man wrote:
LOVER$BOY wrote:I don't know why you would need to go the lenghts of editing the /etc/ folders
That is standard procedure (AFAIK, we just took it over from the official packages) for servers installed via .deb packages.
OH... Strange because I never needed to meddle with them not that I needed to use them :)
delinquent wrote:The folder just contains the maps and userdata...
I thought apt-get would prove simpler than ******* around with bzr...

I'll try again later on tonight.
I don't know what to say... it's easy but then there's the stupid security that often causes a problem in the latest ubuntu recently. Still, if you are building a server from deb, I am not much of a help. I generally download the servers using

Code: Select all

bzr branch lp:~armagetronad-ap/armagetronad/0.2.9-armagetronad-sty+ct+ap
and then using the instructions I wrote myself linked here: Running Multiple Servers In a Single Ubuntu Computer.

I'm actually going to re-write the whole thing because that's much too old and I am now using a new method for installing my scripts to start and stop my servers.
Z-Man wrote:It does, but your distribution is apparently a bit weird. Here's how it looks for me:

Code: Select all

manuel@scooter:~$ ls /etc/default/armagetronad-styct-dedicated -l
-rw-r--r-- 1 root root 477 Sep 26  2011 /etc/default/armagetronad-styct-dedicated
manuel@scooter:~$ cat /etc/default/armagetronad-styct-dedicated 
# 0 = don't start, 1 = start
ARMAGETRONAD_SERVER_START=0
# User to run as.
ARMAGETRONAD_USER=armagetronad-styct
# Directories for variable data.
VARDIR=/var/games/armagetronad-styct
# Directories for pid and log files.
PIDDIR=/var/games/armagetronad-styct
LOGDIR=/var/log
# pidfile names.
NAME=armagetronad-styct-dedicated
STARTERPIDFILE=$PIDDIR/$NAME-starter.pid
MAINPIDFILE=$PIDDIR/$NAME.pid
# Logfile.
LOGFILE=$LOGDIR/$NAME.log
# Niceness level of the server.
NICENESS="-5"
So, regular file, edit the second line to activate.
Now that I have no clue about, really.
Image
User avatar
delinquent
Match Winner
Posts: 760
Joined: Sat Jul 07, 2012 3:07 am

Re: Installation

Post by delinquent »

Don't re-write that just yet, I'm gonna install ubuntu from scratch and try again.
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: Installation

Post by LOVER$BOY »

Ok delinquent :)

I'll wait for your signal. Meanwhile I'll write the new tutorial in my Alpha Project Wiki page. Should find it under Tutorials heading in main page. The tutorial will however deal with using sty+ct+ap as I prefer to use mine and it's awesome features :D
Image
Post Reply