BillMax provides executables used by hooks for commonly provisioned systems. However,
sometimes it is necessary to create a new executable. The executable should be written with
the following guidelines:
- Return 0 for success, non-zero for failure.
- If failure, any changes that were made to the target systems should be rolled back.
If using the delivered
/usr/local/billmax/local/service_hook-example,
calling the executable using the following style is recommended.
program
-arg1
-arg2
-arg3 value
-argN
serviceName