You might find the logic of the "watershed" CLI tool useful. Wrapping the "rndc reload" call with the watershed command might also work around the underlying reload hanging issue. It's in the chiark-utils-bin package.
You might find the logic of the "watershed" CLI tool useful. Wrapping the "rndc reload" call with the watershed command might also work around the underlying reload hanging issue. It's in the chiark-utils-bin package.