[Lunar-commits] <moonbase-other> ejabberd: Changed mnesia dir location in the old sysvinit script

Stefan Wold ratler at lunar-linux.org
Thu Aug 9 22:29:15 CEST 2012


commit 7a7127c960f0cc244b42bde195586fe3d6f9ae4c
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Thu, 09 Aug 2012 13:29:15 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/7a7127c960f0cc244b42bde195586fe3d6f9ae4c

ejabberd: Changed mnesia dir location in the old sysvinit script
---
  chat/ejabberd/init.d/ejabberd                                +1/-1     
  1 files changed, 1 insertions (+), 1 deletions (-)

--- a/chat/ejabberd/init.d/ejabberd
+++ b/chat/ejabberd/init.d/ejabberd
@@ -19,7 +19,7 @@ start() {
   echo -n "Starting ejabberd: "
   PID=$(get_pid)
   if [ -z "$PID" ]; then
-    su ejabberd -s /bin/bash - -c 'erl -pa /usr/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config \"/etc/ejabberd/ejabberd.cfg\" log_path \"/var/log/ejabberd/ejabberd.log\" -sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} -mnesia dir \"/var/spool/ejabberd\" -detached -kernel inetrc \"/etc/ejabberd/inetrc\"'
+    su ejabberd -s /bin/bash - -c 'erl -pa /usr/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config \"/etc/ejabberd/ejabberd.cfg\" log_path \"/var/log/ejabberd/ejabberd.log\" -sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} -mnesia dir \"/var/lib/ejabberd\" -detached -kernel inetrc \"/etc/ejabberd/inetrc\"'
     if [ $? -gt 0 ]; then
       echo -e "$RESULT_FAIL"
       exit 1




More information about the Lunar-commits mailing list