Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-10-19 12:14:02 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-10-19 12:14:02 +0300
commita23b6fb7ece3810d5a6add2a65b3f6511157dc18 (patch)
treec035eb6fe8fce272bb9213b872e3e89d884ed7b9 /ejabberdctl.template
parent9ff6cc25dc9db7ba453acf7b6d7f7374e01f9d86 (diff)
Don't parse obsoleted options
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-xejabberdctl.template4
1 files changed, 1 insertions, 3 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template
index a940c3df7..a3b60a893 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -83,10 +83,8 @@ ERL_INETRC="$ETC_DIR"/inetrc
# define ejabberd parameters
EJABBERD_OPTS="$EJABBERD_OPTS\
-$(sed '/^log_rate_limit/!d;s/:[ \t]*\([0-9]*\).*/ \1/;s/^/ /' "$EJABBERD_CONFIG_PATH")\
$(sed '/^log_rotate_size/!d;s/:[ \t]*\([0-9]*\).*/ \1/;s/^/ /' "$EJABBERD_CONFIG_PATH")\
-$(sed '/^log_rotate_count/!d;s/:[ \t]*\([0-9]*\).*/ \1/;s/^/ /' "$EJABBERD_CONFIG_PATH")\
-$(sed '/^log_rotate_date/!d;s/:[ \t]*\(.[^ ]*\).*/ \1/;s/^/ /' "$EJABBERD_CONFIG_PATH")"
+$(sed '/^log_rotate_count/!d;s/:[ \t]*\([0-9]*\).*/ \1/;s/^/ /' "$EJABBERD_CONFIG_PATH")"
[ -n "$EJABBERD_OPTS" ] && EJABBERD_OPTS="-ejabberd $EJABBERD_OPTS"
EJABBERD_OPTS="-mnesia dir \"$SPOOL_DIR\" $MNESIA_OPTIONS $EJABBERD_OPTS -s ejabberd"