Change ownership of SeedDMS config, closes #172
This commit is contained in:
parent
66293bf0ef
commit
2f71537f07
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user