mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-22 14:32:15 +00:00
add sync
This commit is contained in:
@@ -57,12 +57,17 @@ def cli(area: str, version: str, list_versions: bool, runs_dir: Path, run_mounte
|
|||||||
|
|
||||||
if changed and run_mounter:
|
if changed and run_mounter:
|
||||||
print('running mounter.py')
|
print('running mounter.py')
|
||||||
|
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
[sys.executable, Path(__file__).parent / 'mounter.py'],
|
[sys.executable, Path(__file__).parent / 'mounter.py'],
|
||||||
check=True,
|
check=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
print('running nginx_sync.py')
|
||||||
|
subprocess.run(
|
||||||
|
[sys.executable, Path(__file__).parent / 'nginx_sync' / 'nginx_sync.py'],
|
||||||
|
check=True,
|
||||||
|
)
|
||||||
|
|
||||||
print('\n\n\n')
|
print('\n\n\n')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user