Revision db620e95

b/doc/hooks.rst
8 8
Introduction
9 9
------------
10 10

  
11

  
12
In order to allow customisation of operations, ganeti runs scripts
13
under ``/etc/ganeti/hooks`` based on certain rules.
14

  
11
In order to allow customisation of operations, Ganeti runs scripts in
12
sub-directories of ``@SYSCONFDIR@/ganeti/hooks``. These sub-directories
13
are named ``$hook-$phase.d``, where ``$phase`` is either ``pre`` or
14
``post`` and ``$hook`` matches the directory name given for a hook (e.g.
15
``cluster-verify-post.d`` or ``node-add-pre.d``).
15 16

  
16 17
This is similar to the ``/etc/network/`` structure present in Debian
17 18
for network interface handling.

Also available in: Unified diff