fix: include conf, extended conf

This commit is contained in:
2020-08-08 05:12:01 +03:00
parent 620f91e5e9
commit 29582eb2b8
2 changed files with 12 additions and 1 deletions

View File

@ -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