mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-08-01 10:56:44 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0f621d0edd | ||
![]() |
c982541a40 |
@@ -73,7 +73,10 @@ def start_zerotier():
|
||||
|
||||
os.makedirs(config_dir, exist_ok=True)
|
||||
|
||||
os.symlink(config_dir, zt_path, target_is_directory=True)
|
||||
try:
|
||||
os.symlink(config_dir, zt_path, target_is_directory=True)
|
||||
except FileExistsError:
|
||||
print(f"Symlink {zt_path} already exists, skipping creation.")
|
||||
|
||||
zerotier_proc = popen(["zerotier-one"])
|
||||
|
||||
|
Reference in New Issue
Block a user