Activate Asynchronous Hook Processing
-
cp
/usr/local/billmax/pkg/bx_processHooksAsync.service
/usr/lib/systemd/system
-
systemctl
enable bx_processHooksAsync
-
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.
-
systemctl
start bx_processHooksAsync