summaryrefslogtreecommitdiff
path: root/man/rcdn.1
diff options
context:
space:
mode:
authorGravatar David Alexander <opensource@thelonelyghost.com>2016-11-11 02:46:00 -0500
committerGravatar Mike Burns <mike@mike-burns.com>2016-11-12 16:19:13 -0500
commitbc0d5b63f6c4762b7d39fb32b525f977015ff4b3 (patch)
tree004ed26a2af69caf3985e0415a84660d9f067136 /man/rcdn.1
parentee6318598939ec0e1c147430bb2cac036a90f754 (diff)
Run hooks in a defined order
Run the hooks in alphabetical order so that people can more predictably manage their hooks. While here, clean up the NEWS.md.in.
Diffstat (limited to 'man/rcdn.1')
-rw-r--r--man/rcdn.110
1 files changed, 9 insertions, 1 deletions
diff --git a/man/rcdn.1 b/man/rcdn.1
index fabd9a3..df83e60 100644
--- a/man/rcdn.1
+++ b/man/rcdn.1
@@ -47,7 +47,15 @@ and
These hooks are run each time
.Nm
is run and therefore must be idempotent.
-.
+.Pp
+Hooks will be executed one at a time, sorted alphabetically. For instance,
+.Pa hooks/pre-down/animals
+will run before
+.Pa hooks/pre-down/aquariums ,
+and
+.Pa hooks/pre-down/4-eyes
+will run before
+.Pa hooks/post-down/2-u-nothing-compares .
.Bl -tag -width "-I EXCL_PAT"
.It Fl B Ar HOSTNAME
treat