Revert "taskworker: put the arg in shebang line"
Not supported on ubuntu 18
This reverts commit e6edc4e999.
This commit is contained in:
@@ -50,7 +50,7 @@ fi
|
||||
# DEBUG has to be hardcoded because it is not set in the tests. --setenv is required for ubuntu 16 (-E does not work)
|
||||
systemd-run --unit "${service_name}" --nice "${nice}" --uid=${id} --gid=${id} ${options} \
|
||||
--setenv HOME=${HOME} --setenv USER=${SUDO_USER} --setenv DEBUG=box:* --setenv BOX_ENV=${BOX_ENV} --setenv NODE_ENV=production \
|
||||
"${task_worker}" "${task_id}" "${logfile}"
|
||||
"${task_worker}" --unhandled-rejections=strict "${task_id}" "${logfile}"
|
||||
exit_code=$?
|
||||
|
||||
if [[ "${ubuntu_version}" == "16.04" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user