How run my bash-script after site addition.

Discussion in 'Installation/Configuration' started by atomlab, Apr 20, 2011.

  1. atomlab

    atomlab New Member

    How run bash-script on the server after site addition?

    Add new website -> Save

    The site is created and run my script. And I can use variables [website_id],[client_id],[website_domain] in a script ?


    Excuse for bad English:)
    Last edited: Apr 20, 2011
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Create a new server plugin in ispconfig and register it for the "web_domain_insert" event. Take a look at the existing plugins in /usr/local/ispconfig/server/plugins-enabled/ to get some examples.

Share This Page