commit | a87af8462346f7db6cac87ba13bac5a4b20132c3 | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Mon Aug 13 11:48:23 2018 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Mon Aug 13 11:48:23 2018 +0800 |
tree | 6b68b1ab78278e6dbeec2365e1bfb3f2b9b1587b | |
parent | 4ac9246f8391ac5af736046fa6001632f91c1173 [diff] |
nbd-proxy: replace hook dir with a single executable A future change will run the executable asynchronously. With a directory of hooks, this gets overly complicated. Replace the directory-of-hooks concept with a single hook. The hook itself can then spawn multiple hooks if required (eg, with run-parts). Signed-off-by: Jeremy Kerr <jk@ozlabs.org>