Change ownership of SeedDMS config, closes #172

This commit is contained in:
Disassembler 2018-02-08 09:39:58 +01:00
parent 66293bf0ef
commit 2f71537f07
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -26,6 +26,7 @@ export SEEDDMS_ADMIN_USER=admin
export SEEDDMS_ADMIN_PWD=$(head -c 12 /dev/urandom | base64) export SEEDDMS_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
export SEEDDMS_ADMIN_EMAIL=admin@example.com export SEEDDMS_ADMIN_EMAIL=admin@example.com
envsubst <${SOURCE_DIR}/adminpwd.sql | docker exec -i postgres psql seeddms envsubst <${SOURCE_DIR}/adminpwd.sql | docker exec -i postgres psql seeddms
chown -R 8010:8010 /srv/seeddms/conf
# Create SeedDMS service # Create SeedDMS service
cp ${SOURCE_DIR}/etc/init.d/seeddms /etc/init.d/seeddms cp ${SOURCE_DIR}/etc/init.d/seeddms /etc/init.d/seeddms