5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-12-29 02:55:40 +00:00

update default paths

This commit is contained in:
Arceliar 2023-10-28 10:00:13 -05:00
parent 14ea730853
commit cae7a9d13a
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ elif len(sys.argv) == 2:
sockaddr = sys.argv[1] sockaddr = sys.argv[1]
else: else:
socktype = socket.AF_UNIX socktype = socket.AF_UNIX
sockaddr = "/var/run/yggdrasil.sock" sockaddr = "/var/run/yggdrasil/yggdrasil.sock"
def getPeersRequest(key): def getPeersRequest(key):
return '{{"keepalive":true, "request":"debug_remoteGetPeers", "arguments": {{"key":"{}"}}}}'.format(key) return '{{"keepalive":true, "request":"debug_remoteGetPeers", "arguments": {{"key":"{}"}}}}'.format(key)

View File

@ -13,7 +13,7 @@ elif len(sys.argv) == 2:
sockaddr = sys.argv[1] sockaddr = sys.argv[1]
else: else:
socktype = socket.AF_UNIX socktype = socket.AF_UNIX
sockaddr = "/var/run/yggdrasil.sock" sockaddr = "/var/run/yggdrasil/yggdrasil.sock"
def doRequest(req): def doRequest(req):
try: try: