Changed to correct server conf variable in bash completion.

Was the old DEFAULT_SERVER_CONF, now the new DEFAULT_PROPERTIES.
This commit is contained in:
Marcus Whybrow 2012-07-11 07:26:48 +01:00
parent f7f944517b
commit ce1295ec62
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,7 @@ __init() {
# $1: The name of a server
__init_server() {
SERVER_PATH="$SERVER_STORAGE_PATH/$1"
SERVER_CONF="$SERVER_STORAGE_PATH/$1/$DEFAULT_SERVER_CONF"
SERVER_CONF="$SERVER_STORAGE_PATH/$1/$DEFAULT_PROPERTIES"
SERVER_USER="$DEFAULT_SERVER_USER"
SCREEN_NAME="${DEFAULT_SCREEN_NAME//\{SERVER_NAME\}/${1}}"

View File

@ -21,7 +21,6 @@ USERNAME="minecraft"
# Where new servers are stored
SERVER_STORAGE_PATH="/opt/msm/servers"
DEFAULT_SERVER_CONF="server.properties"
# Where runnable jar files for use by servers are stored
JAR_STORAGE_PATH="/opt/msm/jars"