tor-hsservice: Improve descriptor publisher status reporting
This MR makes the descriptor publisher more accurately report its ComponentStatus
. More specifically it now sets its status to
-
Broken
if restricted discovery is misconfigured (i.e. restricted discovery is enabled but there are no authorized clients) -
Running
,DegradedReachable
, orDegradedUnreachable
, depending on how the descriptor uploads went (see 973c1c03dbf1f7f37a349167bf07139366682b27)