1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

etc: Add dev-start.sh script for #86

This commit is contained in:
James Hillyerd
2018-03-25 16:16:06 -07:00
parent 2d09e94f87
commit 23dc357202

19
etc/dev-start.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
# dev-start.sh
# description: Developer friendly Inbucket configuration
export INBUCKET_LOGLEVEL="TRACE"
export INBUCKET_SMTP_DOMAINNOSTORE="bitbucket.local"
export INBUCKET_WEB_TEMPLATECACHE="false"
export INBUCKET_WEB_COOKIEAUTHKEY="not-secret"
export INBUCKET_STORAGE_TYPE="file"
export INBUCKET_STORAGE_PARAMS="path:/tmp/inbucket"
export INBUCKET_STORAGE_RETENTIONPERIOD="5m"
if ! test -x ./inbucket; then
echo "$PWD/inbucket not found/executable!" >&2
echo "Run this script from the inbucket root directory after running make" >&2
exit 1
fi
exec ./inbucket $*