summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/rcdn.110
-rw-r--r--man/rcup.19
2 files changed, 18 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
diff --git a/man/rcup.1 b/man/rcup.1
index 2498125..f4fb89e 100644
--- a/man/rcup.1
+++ b/man/rcup.1
@@ -183,6 +183,15 @@ and
These files must be executable. They are run every 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-up/animals
+will run before
+.Pa hooks/pre-up/aquariums ,
+and
+.Pa hooks/pre-up/4-eyes
+will run before
+.Pa hooks/post-up/2-u-nothing-compares .
.Sh ALGORITHM
It is instructive to understand the process
.Nm rcup