25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

* src/ejabberdctl.template: Write erl_crash.dump in the log/ directory, with unique filename (EJAB-433).

SVN Revision: 979
This commit is contained in:
Badlop 2007-11-26 08:57:21 +00:00
parent 399604e55d
commit 87f7630fa3
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
2007-11-26 Badlop <badlop@process-one.net>
* src/ejabberdctl.template: Removed bashisms (EJAB-399). Set environment variables instead of passing parameters when calling erl (EJAB-421).
* src/ejabberdctl.template: Removed bashisms (EJAB-399). Set environment variables instead of passing parameters when calling erl (EJAB-421). Write erl_crash.dump in the log/ directory, with unique filename (EJAB-433).
* src/ejabberd_ctl.erl: Improvements in the help messages (EJAB-399).

View File

@ -17,6 +17,9 @@ EJABBERD_SO_PATH=$ROOTDIR/var/lib/ejabberd/priv/lib
EJABBERD_LOG_PATH=$ROOTDIR/var/log/ejabberd/ejabberd.log
export EJABBERD_LOG_PATH
SASL_LOG_PATH=$ROOTDIR/var/log/ejabberd/sasl.log
DATETIME=`date "+%Y%m%d-%H%M%S"`
ERL_CRASH_DUMP=$ROOTDIR/var/log/ejabberd/erl_crash.dump.$DATETIME
export ERL_CRASH_DUMP
[ -d $EJABBERD_DB ] || mkdir -p $EJABBERD_DB