fix: include conf, extended conf
This commit is contained in:
parent
620f91e5e9
commit
29582eb2b8
@ -13,13 +13,22 @@ ModeNames['KFGameContent.KFGameInfo_Endless']='Endless'
|
||||
ModeNames['KFGameContent.KFGameInfo_Objective']='Objective'
|
||||
ModeNames['KFGameContent.KFGameInfo_VersusSurvival']='Versus'
|
||||
|
||||
# Custom gamemodes:
|
||||
ModeNames['ControlledDifficulty_Endless.CD_Endless']='CD-E_Endless'
|
||||
ModeNames['ControlledDifficulty_Eternal.CD_Survival']='CD-E_Survival'
|
||||
ModeNames['ControlledDifficulty_Blackout.CD_Survival']='CD-B_Survival'
|
||||
|
||||
# Add mutators to the end of the list, similar to what is already there:
|
||||
MutNames['ServerExtMut.ServerExtMut']='RPG'
|
||||
MutNames['FriendlyHUD.FriendlyHUDMutator']='FriendlyHUD'
|
||||
MutNames['KFMutator.KFMutator_MaxPlayersV2']='MaxPlayers'
|
||||
MutNames['ClassicScoreboard.ClassicSCMut']='ClassicSC'
|
||||
MutNames['ZedCustom.ZedCustomMut']='ZedVarients'
|
||||
|
||||
# These parameters are used when creating new instances.
|
||||
# In order for the parameters to be applied to the files that the working server creates, the "kf2-srv-force-attr.service" must be active.
|
||||
ForceIniPermissions=664
|
||||
ForceLogPermissions=640
|
||||
ForceLogPermissions=644
|
||||
ForceIniGroup=steam
|
||||
ForceLogGroup=steam
|
||||
|
||||
|
@ -265,6 +265,8 @@ function instance_list () # $*: [InstanceName[s]]
|
||||
|
||||
function instance_status () # $1: InstanceName
|
||||
{
|
||||
include /etc/kf2-srv/kf2-srv.conf
|
||||
|
||||
local Instance="$1"
|
||||
if ! instance_exists "$Instance"; then return 1; fi
|
||||
if systemctl -q is-enabled $(service_name "$Instance"); then
|
||||
|
Loading…
Reference in New Issue
Block a user