Skip to content

Commit

Permalink
Define HOME variable inside konnector jail
Browse files Browse the repository at this point in the history
  • Loading branch information
sblaisot committed Sep 30, 2024
1 parent 6cbe0e4 commit eba2a03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/konnector-nsjail-node-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ nsjail \
-E "COZY_JOB_MANUAL_EXECUTION=${COZY_JOB_MANUAL_EXECUTION}" \
-E "COZY_TIME_LIMIT=${COZY_TIME_LIMIT}" \
-E "COZY_TRIGGER_ID=${COZY_TRIGGER_ID}" \
-E "HOME=/usr/src/konnector" \
-R "${rundir}:/usr/src/konnector/" \
-R /lib \
-R /lib64 \
Expand Down Expand Up @@ -194,5 +195,6 @@ nsjail \
# -E "COZY_CREDENTIALS=${COZY_CREDENTIALS}" \
# -E "COZY_JOB_MANUAL_EXECUTION=${COZY_JOB_MANUAL_EXECUTION}" \
# -E "COZY_LOCALE=${COZY_LOCALE}" \
# -E "HOME=/usr/src/konnector" \
# -R "${rundir}:/usr/src/konnector/" \
# -- /usr/bin/nodejs ${NODE_OPTS} "${runfile}"

0 comments on commit eba2a03

Please sign in to comment.