Remove unused data dir for OpenDataKit
This commit is contained in:
parent
d30aca4781
commit
b85afce06c
@ -17,12 +17,12 @@ envsubst <${SOURCE_DIR}/createdb.sql | docker exec -i postgres psql
|
|||||||
# Configure OpenDataKit
|
# Configure OpenDataKit
|
||||||
export OPENDATAKIT_ADMIN_USER=admin
|
export OPENDATAKIT_ADMIN_USER=admin
|
||||||
export OPENDATAKIT_ADMIN_REALM=spotter
|
export OPENDATAKIT_ADMIN_REALM=spotter
|
||||||
mkdir -p /srv/opendatakit/conf /srv/opendatakit/data
|
mkdir -p /srv/opendatakit/conf
|
||||||
envsubst <${SOURCE_DIR}/srv/opendatakit/conf/jdbc.properties >/srv/opendatakit/conf/jdbc.properties
|
envsubst <${SOURCE_DIR}/srv/opendatakit/conf/jdbc.properties >/srv/opendatakit/conf/jdbc.properties
|
||||||
envsubst <${SOURCE_DIR}/srv/opendatakit/conf/security.properties >/srv/opendatakit/conf/security.properties
|
envsubst <${SOURCE_DIR}/srv/opendatakit/conf/security.properties >/srv/opendatakit/conf/security.properties
|
||||||
cp ${SOURCE_DIR}/srv/opendatakit/conf/server.xml /srv/opendatakit/conf/server.xml
|
cp ${SOURCE_DIR}/srv/opendatakit/conf/server.xml /srv/opendatakit/conf/server.xml
|
||||||
cp ${SOURCE_DIR}/srv/opendatakit/update-ip.sh /srv/opendatakit/update-ip.sh
|
cp ${SOURCE_DIR}/srv/opendatakit/update-ip.sh /srv/opendatakit/update-ip.sh
|
||||||
chown -R 8015:8015 /srv/opendatakit/conf /srv/opendatakit/data
|
chown -R 8015:8015 /srv/opendatakit/conf
|
||||||
|
|
||||||
# Create OpenDataKit service
|
# Create OpenDataKit service
|
||||||
cp ${SOURCE_DIR}/etc/init.d/opendatakit /etc/init.d/opendatakit
|
cp ${SOURCE_DIR}/etc/init.d/opendatakit /etc/init.d/opendatakit
|
||||||
|
Loading…
Reference in New Issue
Block a user