packaging/freebsd/openra: update comments, fix typos

This commit is contained in:
Moviuro
2015-06-07 14:20:13 +02:00
parent 56fc53b1e6
commit 9224030376

View File

@@ -7,10 +7,17 @@
# Add the following lines to /etc/rc.conf.local to enable the openra server: # Add the following lines to /etc/rc.conf.local to enable the openra server:
# #
# openra_enable="YES" # openra_enable="YES"
# openra_user="<run server as this user>" # openra_user="<run server as this user>" (default: openra)
# openra_chdir="<run server in this directory>" # openra_chdir="<home directory of openra_user>"
# (default: /usr/home/${openra_user})
# openra_path="<path to OpenRA.Game.exe>" # openra_path="<path to OpenRA.Game.exe>"
# openra_ExtraFlagslags="<set as needed>" # (default: ${openra_chdir}/OpenRA/OpenRA.Game.exe)
# openra_ServerName="<ServerName>" (no spaces allowed!)
# openra_Mod="<Mod>" (default: ra)
# openra_ListenPort="<number>" (default: 1234)
# openra_ExternalPort="<number>" (default: 1234)
# openra_AdvertiseOnline="<True|False>" (default: False)
# openra_extraflags="<set as needed>"
# #
. /etc/rc.subr . /etc/rc.subr
@@ -31,7 +38,7 @@ status_cmd="${name}_status"
: ${openra_session="openra-session"} : ${openra_session="openra-session"}
: ${openra_user="openra"} : ${openra_user="openra"}
: ${openra_chdir="/usr/home/${openra_user}"} : ${openra_chdir="/usr/home/${openra_user}"}
: ${openra_path="/usr/home/${openra_user}/OpenRA/OpenRA.Game.exe"} : ${openra_path="${openra_chdir}/OpenRA/OpenRA.Game.exe"}
: ${openra_ServerName="Dedicated_Server"} : ${openra_ServerName="Dedicated_Server"}
: ${openra_Mod="ra"} : ${openra_Mod="ra"}
@@ -48,7 +55,8 @@ openra_DedicatedLoop="True"
Server.Name=${openra_ServerName} \ Server.Name=${openra_ServerName} \
Server.ListenPort=${openra_ListenPort} \ Server.ListenPort=${openra_ListenPort} \
Server.ExternalPort=${openra_ExternalPort} \ Server.ExternalPort=${openra_ExternalPort} \
Server.AdvertiseOnline=${openra_AdvertiseOnline}"} Server.AdvertiseOnline=${openra_AdvertiseOnline}\
${openra_extraflags}"}
: ${openra_args="/usr/local/bin/mono --debug \ : ${openra_args="/usr/local/bin/mono --debug \
${openra_path} ${openra_runflags}"} ${openra_path} ${openra_runflags}"}