mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
12 lines
423 B
Bash
Executable File
12 lines
423 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "Starting matrix-dimension"
|
|
|
|
if [ -f "/data/config.yaml" ]; then
|
|
cp /data/config.yaml /home/node/matrix-dimension/config/production.yaml
|
|
NODE_ENV=production exec node build/app/index.js
|
|
else
|
|
cp /home/node/matrix-dimension/config/default.yaml /data/config.yaml
|
|
echo "A default config file has been placed in the /data/ volume please review and make any required changes and start the container again"
|
|
fi
|