mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
ensure indexing runs with --ign-ebind-all
This commit is contained in:
parent
a62f744a18
commit
0815dce4c1
|
@ -198,6 +198,10 @@ class SvcHub(object):
|
||||||
self.log("root", "max clients: {}".format(self.args.nc))
|
self.log("root", "max clients: {}".format(self.args.nc))
|
||||||
|
|
||||||
self.tcpsrv = TcpSrv(self)
|
self.tcpsrv = TcpSrv(self)
|
||||||
|
|
||||||
|
if not self.tcpsrv.srv and self.args.ign_ebind_all:
|
||||||
|
self.args.no_fastboot = True
|
||||||
|
|
||||||
self.up2k = Up2k(self)
|
self.up2k = Up2k(self)
|
||||||
|
|
||||||
decs = {k: 1 for k in self.args.th_dec.split(",")}
|
decs = {k: 1 for k in self.args.th_dec.split(",")}
|
||||||
|
@ -350,6 +354,9 @@ class SvcHub(object):
|
||||||
else:
|
else:
|
||||||
self.log("root", "workers OK\n")
|
self.log("root", "workers OK\n")
|
||||||
|
|
||||||
|
self.after_httpsrv_up()
|
||||||
|
|
||||||
|
def after_httpsrv_up(self) -> None:
|
||||||
self.up2k.init_vols()
|
self.up2k.init_vols()
|
||||||
|
|
||||||
Daemon(self.sd_notify, "sd-notify")
|
Daemon(self.sd_notify, "sd-notify")
|
||||||
|
|
Loading…
Reference in a new issue