feat: add the ability to disable the init process

This allows projects using s6 overlay - in particular linxserver images - the ability to disable --init flag injection.

Closes #5287
This commit is contained in:
Jose Diaz-Gonzalez committed 2022-08-10 21:32:55 -04:00
1 parent 6a3933213c
commit c4c6ac5617
5 files changed
+21 -3

No files matched your search

@@ -35,6 +35,7 @@ main() {
CONTAINER_INDEX=$((CONTAINER_INDEX + 1))
done
INJECT_INIT_FLAG="$(fn-plugin-property-get "scheduler-docker-local" "$APP" "init-process" "true")"
PARALLEL_DEPLOY_COUNT="$(plugn trigger "app-json-process-deploy-parallelism" "$APP" "$PROC_TYPE")"
DOKKU_CHECKS_DISABLED="$DOKKU_CHECKS_DISABLED" parallel --will-cite --halt soon,fail=1 --jobs "$PARALLEL_DEPLOY_COUNT" --ungroup <"$PROCESS_TMP_FILE"