Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (14 sloc) 0.417 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh

# Used by scripts/Makefile and scripts/rebar-pre-script to create
# the yaws.conf file

set -e

cat yaws.conf.template | \
    ./Subst %yawsdir% "$YAWSDIR" | \
    ./Subst %logdir% "$LOGDIR" | \
    ./Subst %vardir% "$VARDIR" | \
    ./Subst %host% `hostname` | \
    ./Subst %port% $PORT | \
    ./Subst %docroot% "$DOCROOT" | \
    ./Subst %certdir% "$CERTDIR" | \
    ./Subst %sslport% $SSLPORT

exit 0
Something went wrong with that request. Please try again.