mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Stopped requiring DEFAULT_SERVER_CONF in settings.
This commit is contained in:
parent
e88391ab7b
commit
859d415bc9
2
init/msm
2
init/msm
@ -2182,7 +2182,6 @@ server_init() {
|
|||||||
|
|
||||||
# Asserts that a variable has been set in the config file
|
# Asserts that a variable has been set in the config file
|
||||||
# $1: The name of the variable to test
|
# $1: The name of the variable to test
|
||||||
# $2: The message to print to stderr if the variable is unset
|
|
||||||
assert_is_set_in_config() {
|
assert_is_set_in_config() {
|
||||||
[[ ! ${!1} && ${!1-_} ]] && {
|
[[ ! ${!1} && ${!1-_} ]] && {
|
||||||
error_exit CONF_ERROR "$1 must be set in $CONF"
|
error_exit CONF_ERROR "$1 must be set in $CONF"
|
||||||
@ -2200,7 +2199,6 @@ init_ensure_settings() {
|
|||||||
assert_is_set_in_config LOG_ARCHIVE_PATH
|
assert_is_set_in_config LOG_ARCHIVE_PATH
|
||||||
assert_is_set_in_config BACKUP_ARCHIVE_PATH
|
assert_is_set_in_config BACKUP_ARCHIVE_PATH
|
||||||
|
|
||||||
assert_is_set_in_config DEFAULT_SERVER_CONF
|
|
||||||
assert_is_set_in_config DEFAULT_SERVER_USER
|
assert_is_set_in_config DEFAULT_SERVER_USER
|
||||||
assert_is_set_in_config DEFAULT_SCREEN_NAME
|
assert_is_set_in_config DEFAULT_SCREEN_NAME
|
||||||
assert_is_set_in_config DEFAULT_WORLD_STORAGE_PATH
|
assert_is_set_in_config DEFAULT_WORLD_STORAGE_PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user