diff options
author | 2004-09-14 22:40:36 +0000 | |
---|---|---|
committer | 2004-09-14 22:40:36 +0000 | |
commit | d021fc14d36e07f17edb3042a319956ad2256ee1 (patch) | |
tree | d8c52cefb886206f474ddb48fcf7bb76e9460c21 /games-fps/americas-army/files | |
parent | sandbox fix (diff) | |
download | historical-d021fc14d36e07f17edb3042a319956ad2256ee1.tar.gz historical-d021fc14d36e07f17edb3042a319956ad2256ee1.tar.bz2 historical-d021fc14d36e07f17edb3042a319956ad2256ee1.zip |
Removed old versions and added dedicated server init scripts by Bjorn Michaelsen <bmichaelsen@gmx.de>. Closing bug #58581.
Diffstat (limited to 'games-fps/americas-army/files')
-rw-r--r-- | games-fps/americas-army/files/armyops | 4 | ||||
-rw-r--r-- | games-fps/americas-army/files/armyops-ded.conf.d | 20 | ||||
-rw-r--r-- | games-fps/americas-army/files/armyops-ded.rc | 25 | ||||
-rw-r--r-- | games-fps/americas-army/files/digest-americas-army-200a-r1 | 2 |
4 files changed, 45 insertions, 6 deletions
diff --git a/games-fps/americas-army/files/armyops b/games-fps/americas-army/files/armyops deleted file mode 100644 index 9dd669ff8d2c..000000000000 --- a/games-fps/americas-army/files/armyops +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -cd GENTOO_DIR -./armyops $@ diff --git a/games-fps/americas-army/files/armyops-ded.conf.d b/games-fps/americas-army/files/armyops-ded.conf.d new file mode 100644 index 000000000000..d92a3ed6cab6 --- /dev/null +++ b/games-fps/americas-army/files/armyops-ded.conf.d @@ -0,0 +1,20 @@ +# Copyright 2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/files/armyops-ded.conf.d,v 1.1 2004/09/14 22:40:36 wolf31o2 Exp $ + +# Type of Server +# This can be lan, global, lantournament, tournament +SERVERTYPE="lan" + +# starting map of the Server +MAP="Bridge.aao" + +# INI-File the Server should use. +# Do NOT change the content of /opt/americas-army/System/Default.ini !! +# See the comment in the file for reasons. +INIFILE="/opt/americas-army/System/Default.ini" + +# LOG-File the server should write to. +# LOGFILE="/var/log/armyopsserver.log" +LOGFILE="/dev/null" + diff --git a/games-fps/americas-army/files/armyops-ded.rc b/games-fps/americas-army/files/armyops-ded.rc new file mode 100644 index 000000000000..4e514d59c1f6 --- /dev/null +++ b/games-fps/americas-army/files/armyops-ded.rc @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/files/armyops-ded.rc,v 1.1 2004/09/14 22:40:36 wolf31o2 Exp $ + +depend() { + use net + } + +start() { + ebegin "Starting Americas Army Server" + cd /opt/americas-army/System + start-stop-daemon --start --chuid games \ + --background --make-pidfile \ + --pidfile /var/run/armyopsserver.pid \ + --exec ./server-bin -- ${SERVERTYPE} ${MAP} log=${LOGFILE} ini=${INIFILE} + eend $? + } + +stop() { + ebegin "Stopping Americas Army Server" + start-stop-daemon --stop --quiet --pidfile /var/run/armyopsserver.pid + rm /var/run/armyopsserver.pid + eend $? + } diff --git a/games-fps/americas-army/files/digest-americas-army-200a-r1 b/games-fps/americas-army/files/digest-americas-army-200a-r1 deleted file mode 100644 index f31501195f8d..000000000000 --- a/games-fps/americas-army/files/digest-americas-army-200a-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 1c35c2922a61faa0b2468c2eb83615a7 armyops200a-linux.bin 689600292 -MD5 bba41d9a1c552ae1664c7521798324cd UT2003CrashFix.zip 2764 |