Manage Hooks

manage Hooks

This interface allows you to perform a variety of actions on the hooks that exist on your server. By default, the interface sorts hooks by the hook type (for example, PkgAcct) and then by the order in which they run.

Notes:

  • To search for a specific hook, enter the name of that hook in the Search text box.
  • To hide all of the hooks' attributes and actions, click Collapse All.
  • To show all of the hooks' attributes and actions, click Expand All.
  • You must create and edit hooks on the command line. For more information, read our Guide to Standardized Hooks documentation.

Available hooks

The table of hooks lists the following information about each hook:

Column
Description
Event/Hook
  • The first row in this column lists the hook's event. For more information, read our Hookable Events documentation.
  • The second row in this column lists the hook's location.
  • To change the order in which a hook executes, click the up or down arrows next to the hook's location.

In this example, pure-ftpd is the hook action, and /scripts/postftpup and /scripts/postftpinstall are the locations for the hook.

Stage

When the hook executes (for example, pre). For more information, read our Guide to Standardized Hooks documentation.

Description/Notes The unique identifier for the hook.
Attributes

The Attributes icons indicate the status of the hook:

Symbol
Description

A blue icon indicates that the hook blocks certain actions. For example, a hook may block the creation of a new account.

A blue icon indicates that the hook is active.
A blue icon indicates that the root user must run the hook.
A blue icon indicates that the hook checks for a specified condition (a check action) before it runs.
A blue icon indicates that a subroutine or script executes if the hook fails.
Actions You can perform the following actions for each hook:
  • Details — Opens a separate window that displays all of the hook's information.

    Note:

    Changes to the contents of the Notes text box do not change the functionality of the hook.

  • Disable or Enable — Disables or enables the hook. 
  • Delete — Deletes the hook. Click Proceed to confirm that you wish to delete the hook.

    Warning:

    If you delete a hook, you may break applications that depend on that hook to function. If you are unsure whether any applications depend on the hook, use the Disable option instead

  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

x3 Plugin File Generator

x3 Plugin File Generator This interface allows you to generate a plugin installation file for...

cPanel Plugin File Generator

cPanel Plugin File Generator Notes: You must log in as the root user in order to use this...