Skip to content
Newer
Older
100755 19 lines (14 sloc) 417 Bytes
bedbc05 @tuncer add rebar support (Tuncer Ayaz and Steve Vinoski)
tuncer authored May 7, 2011
1 #!/bin/sh
2
3 # Used by scripts/Makefile and scripts/rebar-pre-script to create
4 # the yaws.conf file
5
6 set -e
7
8 cat yaws.conf.template | \
9 ./Subst %yawsdir% "$YAWSDIR" | \
10 ./Subst %logdir% "$LOGDIR" | \
11 ./Subst %vardir% "$VARDIR" | \
12 ./Subst %host% `hostname` | \
13 ./Subst %port% $PORT | \
14 ./Subst %docroot% "$DOCROOT" | \
15 ./Subst %certdir% "$CERTDIR" | \
16 ./Subst %sslport% $SSLPORT
17
18 exit 0
Something went wrong with that request. Please try again.