summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPeter 'Pita' Martischka <petermartischka@googlemail.com>2011-06-02 12:15:02 +0100
committerPeter 'Pita' Martischka <petermartischka@googlemail.com>2011-06-02 12:15:02 +0100
commit280b4ab9c7f44dcaf5fa776dd900138e4ac08609 (patch)
tree3e9681dbda5f785704da6e1a792e849239bba364 /bin
parentfd4efc3b3162f98c6fc0a157f07aacc481b197c0 (diff)
downloadetherpad-lite-280b4ab9c7f44dcaf5fa776dd900138e4ac08609.zip
Create a template of the settings file
Diffstat (limited to 'bin')
-rwxr-xr-xbin/run.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/run.sh b/bin/run.sh
index c72be42f..1f28ab5f 100755
--- a/bin/run.sh
+++ b/bin/run.sh
@@ -19,5 +19,9 @@ if [ -d "../bin" ]; then
cd "../"
fi
+if [ ! -f "settings.json" ]; then
+ cp settings.json.template settings.json
+fi
+
cd "node"
node server.js