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:
authorBadlop <badlop@process-one.net>2020-09-22 14:50:11 +0300
committerBadlop <badlop@process-one.net>2020-09-22 14:58:56 +0300
commitd9cb6d1af719dd53c670aa4cfc08d927c5e1954f (patch)
treeac683ba0d5bad55011ec73aa6fc89d716cec1a84 /ejabberdctl.template
parent583dd15beb19c2cb365b8e03844247d9eedaf4e4 (diff)
log_rotate_date and log_rate_limit are deprecated since e4a8afb (#3382)
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 68eaefa7b..256a40c7a 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -87,10 +87,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"