def daemon():
    TBGatewayService("/etc/thingsboard-gateway/config/tb_gateway.yaml".replace('/', path.sep))
def main():
    if "logs" not in listdir(curdir):
        mkdir("logs")
    TBGatewayService(path.dirname(path.abspath(__file__)) + '/config/tb_gateway.yaml'.replace('/', path.sep))
def main():
    TBGatewayService(path.dirname(path.abspath(__file__)) + '//config//tb_gateway.yaml')
def daemon():
    TBGatewayService("/etc/thingsboard-gateway/config/tb_gateway.yaml")
Exemple #5
0
def main():
    TBGatewayService(
        path.dirname(path.abspath(__file__)) +
        '/config/tb_gateway.yaml'.replace('/', path.sep))