update taskworker
This commit is contained in:
parent
4e222d46be
commit
9129a75537
|
@ -1,9 +1,10 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
import sys
|
import sys
|
||||||
if sys.path[0].endswith("worker"):
|
if sys.path[0].endswith("worker"):
|
||||||
sys.path[0] = sys.path[0][:-6]
|
sys.path[0] = sys.path[0][:-6]
|
||||||
from utils import env, tools
|
from utils import env, tools
|
||||||
#config = env.getenv("CONFIG")
|
config = env.getenv("CONFIG")
|
||||||
config = "/opt/docklet/local/docklet-running.conf"
|
#config = "/opt/docklet/local/docklet-running.conf"
|
||||||
tools.loadenv(config)
|
tools.loadenv(config)
|
||||||
from utils.log import initlogging
|
from utils.log import initlogging
|
||||||
initlogging("docklet-taskworker")
|
initlogging("docklet-taskworker")
|
||||||
|
|
Loading…
Reference in New Issue