aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INSTALL/tasks.d/80_xds3
1 files changed, 3 insertions, 0 deletions
diff --git a/INSTALL/tasks.d/80_xds b/INSTALL/tasks.d/80_xds
index 7f3ffe3..1a62d8b 100644
--- a/INSTALL/tasks.d/80_xds
+++ b/INSTALL/tasks.d/80_xds
@@ -26,6 +26,7 @@ url="https://github.com/iotbzh/xds-server" \
{
"webAppDir": "${XDS_WWWDIR}",
"shareRootDir": "${XDS_CONFDIR}/projects",
+ "sdkRootDir": "${SDK_INSTALL_DIR}",
"syncthing": {
"home": "${XDS_CONFDIR}/syncthing-config",
"gui-address": "http://localhost:8384"
@@ -35,6 +36,8 @@ EOF
# Change owner of created files
chown -R ${DEVUSER}:${DEVUSER_UID} ${XDS_CONFDIR}
+# Change owner of webapp assets files (allow dynamic download of xds-agent tarballs)
+chown -R ${DEVUSER}:${DEVUSER_UID} ${XDS_WWWDIR}/assets
# generate service file for startup
SERVFILE=/lib/systemd/system/xds-server.service