Permalink
Browse files

Start lighttpd in start_ringogw.sh script

  • Loading branch information...
Ville Tuulos
Ville Tuulos committed Dec 17, 2008
1 parent b8a43e0 commit f156a8fb2154fe05c8397cc47ac5be5ad50e88fa
Showing with 3 additions and 0 deletions.
  1. +3 −0 ringogw/start_ringogw.sh
View
@@ -1,6 +1,7 @@
MODE=mochi
PORT=15000
+SCGI=1
if [ ! -z $SCGI ]
then
@@ -11,5 +12,7 @@ fi
export HEART_COMMAND="$0 $@"
+PATH=$PATH:/usr/sbin lighttpd -f lighttpd.conf -D &
+
PATH=.:$PATH erl -heart -noshell -detached +K true -smp on -sname ringogw -setcookie ringobingo -pa ../mochiweb/ebin -pa ../ring/ebin -pa ebin -pa src -boot ringogw -ringogw httpmode $MODE -ringogw port $PORT -ringogw docroot \"web\" -ringogw dynroot \"mon\" -kernel error_logger '{file, "ringogw.log"}' -eval "[handle_ring, handle_domains, handle_data]"

0 comments on commit f156a8f

Please sign in to comment.