Config file paths must be relative

This commit is contained in:
Rick Falkvinge
2014-09-11 13:46:44 +02:00
parent 4d9f3e7c1e
commit a608b9ae9c
+1 -1
View File
@@ -89,7 +89,7 @@ if [ "$COPYFILES" == "yes" ]; then
echo "moving user-configurable files to /etc/swarmops/..."
mkdir -p etc/swarmops
mv $DEPLOYDIR/$TARGETDIR/machineKey.config etc/swarmops/.
sed -i 's/\"machineKey.config\"/\"\/etc\/swarmops\/machineKey.config\"/g' $DEPLOYDIR/$TARGETDIR/web.config
sed -i 's/\"machineKey.config\"/\"..\/..\/..\/..\/etc\/swarmops\/machineKey.config\"/g' $DEPLOYDIR/$TARGETDIR/web.config
fi
fi