Activate Asynchronous Hook Processing Centos 7.x®

  1. cp /usr/local/billmax/pkg/bx_processHooksAsync.service /usr/lib/systemd/system
  2. systemctl enable bx_processHooksAsync
  3. Optionally cp /usr/local/billmax/local/hooksasync.conf-dist /usr/local/billmax/local/hooksasync.conf and edit the following settings
    HOOKSASYNC_SLEEP
    The number of seconds to wait before starting another iteration of processing
    HOOKSASYNC_RETAIN_COMPLETE
    The number of days to keep completed entries in the asyncprov table.
    HOOKSASYNC_RETAIN_ERROR
    The number of days to keep entries in the asyncprov table where the hook returned a non-zero code.
    HOOKSASYNC_RETAIN_PENDING
    The number of days to keep entries in the asyncprov table where the entry was created but not released for processing.
  4. systemctl start bx_processHooksAsync