added autowizard.json creation

This commit is contained in:
André Bauer 2019-02-01 19:52:04 +01:00
parent ede858202c
commit 5b495e81ca

View File

@ -90,6 +90,10 @@ if [ "$1" = 'zammad-init' ]; then
bundle exec rake searchindex:rebuild
fi
if [ -n "${AUTOWIZARD_JSON}" ]; then
echo "${AUTOWIZARD_JSON}" | base64 -d > auto_wizard.json
fi
# chown everything to zammad user
chown -R ${ZAMMAD_USER}:${ZAMMAD_USER} ${ZAMMAD_DIR}