aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/tasks.d
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-20 17:39:33 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-20 21:28:18 +0200
commitb9980873eebf35eee48662e8f065e5c78b19aff0 (patch)
treec618f412d0b31bb2cde8b685d8fba0b7abffff7f /INSTALL/tasks.d
parent0a380e0d1610da585323f4e8bf3999fde48d883d (diff)
Add missing sdkRootDir and fix permission.
Change-Id: Icdf38917a75ccb57e98a4c8b6a88dadb6ad2e8b3 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'INSTALL/tasks.d')
-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