From 0815dce4c1ae1ca080df4b91f726f430ae2c8116 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 22 Sep 2023 23:20:57 +0000 Subject: [PATCH] ensure indexing runs with --ign-ebind-all --- copyparty/svchub.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/copyparty/svchub.py b/copyparty/svchub.py index 1518b5c3..2a4effb4 100644 --- a/copyparty/svchub.py +++ b/copyparty/svchub.py @@ -198,6 +198,10 @@ class SvcHub(object): self.log("root", "max clients: {}".format(self.args.nc)) self.tcpsrv = TcpSrv(self) + + if not self.tcpsrv.srv and self.args.ign_ebind_all: + self.args.no_fastboot = True + self.up2k = Up2k(self) decs = {k: 1 for k in self.args.th_dec.split(",")} @@ -350,6 +354,9 @@ class SvcHub(object): else: self.log("root", "workers OK\n") + self.after_httpsrv_up() + + def after_httpsrv_up(self) -> None: self.up2k.init_vols() Daemon(self.sd_notify, "sd-notify")