Permalink
Browse files

improves start up scripts

  • Loading branch information...
1 parent 5d2e57a commit d9eb0c5ca2c8c057903d5c33e93df7bee9d91e9e @videlalvaro committed May 6, 2011
Showing with 14 additions and 1 deletion.
  1. +9 −0 priv/chat.config
  2. +1 −1 start-dev.sh
  3. +4 −0 start.sh
View
@@ -0,0 +1,9 @@
+[{sasl, [
+{sasl_error_logger, {file, "log/sasl-error.log"}},
+%% define the parameters of the rotating log %% the log file directory
+{error_logger_mf_dir,"./priv/logs/reports" },
+%% # bytes per logfile
+{error_logger_mf_maxbytes,10485760}, % 10 MB
+ %% maximum number of logfiles
+{error_logger_mf_maxfiles, 10}
+]}].
View
@@ -1,4 +1,4 @@
#!/bin/sh
cd `dirname $0`
exec erl -sname rmqchat -pa $PWD/ebin $PWD/deps/*/ebin \
--boot start_sasl -s rabbitmq_chat
+-boot start_sasl -config ./priv/chat -s rabbitmq_chat
View
@@ -0,0 +1,4 @@
+#!/bin/sh
+cd `dirname $0`
+exec erl -sname rmqchat -pa $PWD/ebin $PWD/deps/*/ebin \
+-boot start_sasl -config ./priv/chat -s rabbitmq_chat -detached

0 comments on commit d9eb0c5

Please sign in to comment.