HEX
Server:
System: Linux aac286ea486c 5.14.0-687.15.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 08:51:45 EDT 2026 x86_64
User: root (0)
PHP: 8.2.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,disk_free_space,diskfreespace
Upload Files
File: //platform/bin/run-userini-parser-wrapper.sh
#!/bin/bash
#
# Wrapper script to run userini parser for FPM containers
#

RUN_USERINI_PARSER_SCRIPT="/usr/local/bin/run-userini-parser.sh"

# Check if task type should skip parser
if [[ "${NOMAD_TASK_NAME}" = "app-services-unit" ]]; then
  echo "Task Name: ${NOMAD_TASK_NAME}"
  echo "Skipping userini parser, not supported in app-services-unit task"
  exit 0
fi

# Run the userini parser if executable
if [[ -x ${RUN_USERINI_PARSER_SCRIPT} ]]; then
  echo "Running ${RUN_USERINI_PARSER_SCRIPT}"
  ${RUN_USERINI_PARSER_SCRIPT} || echo "Warning: userini parser exited with error code $?"
else
  echo "${RUN_USERINI_PARSER_SCRIPT} does not exist or is not executable"
fi

exit 0