Adds the POSIX-script caramel_launcher.sh that just starts caramel using pserve with the addition that it reads the environment for server configuration, using caramel_launcher.ini as a bypass for the need to set server configuration in an ini-file. Current env-vars are:
CARAMEL_CA_CERT : a path to a ca cert to use, default ${BASEDIR}/example/caramel.ca.cert
CARAMEL_CA_KEY : a path to a ca key to use, default ${BASEDIR}/example/caramel.ca.key
CARAMEL_PORT : port number for caramel server to use, default 6543
CARAMEL_HOST : address for caramel server to use, defualt 127.0.0.1
CARAMEL_LIFE_SHORT : the short lifetime for CSRs, default 48
CARAMEL_LIFE_LONG : the long lifetime for CSRs, default 720
CARAMEL_DBURL : URI to database to use, default sqlite:///${BASEDIR}/caramel.sqlite
CARAMEL_LOG_LEVEL : what level the root logger should be at, default INFO
Adds the POSIX-script caramel_launcher.sh that just starts caramel using pserve with the addition that it reads the environment for server configuration, using caramel_launcher.ini as a bypass for the need to set server configuration in an ini-file. Current env-vars are:
CARAMEL_CA_CERT : a path to a ca cert to use, default ${BASEDIR}/example/caramel.ca.cert CARAMEL_CA_KEY : a path to a ca key to use, default ${BASEDIR}/example/caramel.ca.key CARAMEL_PORT : port number for caramel server to use, default 6543 CARAMEL_HOST : address for caramel server to use, defualt 127.0.0.1 CARAMEL_LIFE_SHORT : the short lifetime for CSRs, default 48 CARAMEL_LIFE_LONG : the long lifetime for CSRs, default 720 CARAMEL_DBURL : URI to database to use, default sqlite:///${BASEDIR}/caramel.sqlite CARAMEL_LOG_LEVEL : what level the root logger should be at, default INFO
Based on branch #66, related to issue #55