Adding config file locations and yaml support

This commit is contained in:
2022-03-21 11:12:59 +01:00
parent 54992ab5cb
commit bfd0189610
5 changed files with 118 additions and 9 deletions

View File

@ -28,9 +28,9 @@ impl Shutdown {
}
/// Returns `true` if the shutdown signal has been received.
pub(crate) fn is_shutdown(&self) -> bool {
self.shutdown
}
// pub(crate) fn is_shutdown(&self) -> bool {
// self.shutdown
// }
/// Receive the shutdown notice, waiting if necessary.
pub(crate) async fn recv(&mut self) {