Fix tests
This commit is contained in:
@@ -44,7 +44,8 @@ else
|
||||
binds_to=""
|
||||
fi
|
||||
|
||||
# DEBUG has to be hardcoded because it is not set in the tests
|
||||
systemd-run --unit "${service_name}" --pipe --wait --nice "${nice}" --uid=${id} --gid=${id} ${binds_to} ${memory_limit} \
|
||||
-E HOME=${HOME} -E USER=${SUDO_USER} -E DEBUG=${DEBUG} -E BOX_ENV=${BOX_ENV} -E NODE_ENV=production \
|
||||
-E HOME=${HOME} -E USER=${SUDO_USER} -E DEBUG=box:* -E BOX_ENV=${BOX_ENV} -E NODE_ENV=production \
|
||||
"${task_worker}" "${task_id}" "${logfile}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user