mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
parent
4a64748da8
commit
e276700b6d
@ -113,7 +113,8 @@ class Command(BaseCommand):
|
|||||||
return
|
return
|
||||||
|
|
||||||
regex = re.compile(r"listen [0-9]{1,5}")
|
regex = re.compile(r"listen [0-9]{1,5}")
|
||||||
changed = file_overwrite(NGINX, regex, overwrite)
|
to_overwrite = f"listen {overwrite}"
|
||||||
|
changed = file_overwrite(NGINX, regex, to_overwrite)
|
||||||
if changed:
|
if changed:
|
||||||
message = f" ✓ TA_PORT changed to {overwrite}"
|
message = f" ✓ TA_PORT changed to {overwrite}"
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user