Skip to content

Commit

Permalink
Issue Monty#2: make lighttpd config optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed Dec 12, 2014
1 parent 8d27790 commit 159ffcb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 4 additions & 1 deletion config
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ export GEMSTONE_VERSION=3.1 # Must be 2.4 or 3.1 Add by DTR for maintenance sc
export SEASIDE_VERSION=3.0 # Must be 2.8 or 3.0
export STARTING_PORT=9001 # First port for Gems -- will increment by one through ending port
export ENDING_PORT=9003 # Last port for Gems
export WWW_DOCROOT="/var/www" # Static document-root for lighttpd config

# Uncomment the following two lines if want to include lighttpd in daemontools setup
# export LIGHTTPD_SETUP="YES"
# export WWW_DOCROOT="/var/www" # Static document-root for lighttpd config

# GS_HOME must point to the location of gsDevKitHome
# GS_STONE must identify the name of the gsDevKitHome stone
Expand Down
9 changes: 8 additions & 1 deletion setupAll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,14 @@ echo ""
./bootGemstone_setup
#
echo ""
./lighttpd_setup
case "$LIGHTTPD_SETUP" in
YES)
./lighttpd_setup
;;
*)
echo "./lighttpd_setup skipped ..."
;;
esac
#
echo ""
./daemontools_start
Expand Down

0 comments on commit 159ffcb

Please sign in to comment.