From bc0d5b63f6c4762b7d39fb32b525f977015ff4b3 Mon Sep 17 00:00:00 2001 From: David Alexander Date: Fri, 11 Nov 2016 02:46:00 -0500 Subject: 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. --- man/rcup.1 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man/rcup.1') 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 -- cgit v1.2.3