Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Script provisioning is a simple, yet revolutionary provisioning module - it allows you to execute your custom scripts in any scripting/programming language when certain actions related to product using this module occur. I.e.: Run certain script with certain arguments when related account is created. This way you can integrate any system that does not offer an remote API but other management tools that are accessible from cli.

Warning


This is potentially dangerous module - it can execute any command you pass to it, so its important to run your HostBill php/php-fpm processes under a isolated system user (not root).

Syntax mistakes in module configuration can lead to irreversible data loss. 

System requirements & security precautions


  • Although HostBill can be installed on windows environments, this module was not tested on it, and its designed to be used solely on *nix systems
  • This module relies on php proc_open and exec functions, that are by default disabled in php.ini's disable_functions directive, to use it:
    • Use HostBill Queue module that runs tasks in background/trough cron, and with that can make use of different php settings, or
    • (not advised) remove proc_open and exec functions from php.ini disable_functions directive
  • Before executing any script, module changes working directory (cwd) to main HostBill installation directory
  • Its not advised to use this module on shared environment.

Configure product



  • No labels