diff --git a/init-server.py b/init-server.py index aee44c8..bc1d391 100755 --- a/init-server.py +++ b/init-server.py @@ -28,7 +28,7 @@ def prepare_tile_creator(c): install_planetiler(c) put( c, - scripts / 'planetiler' / 'run_planet.sh', + scripts / 'tile_creator' / 'run_planet.sh', PLANETILER_DIR, permissions='755', owner='ofm', @@ -73,7 +73,7 @@ def main(hostname, user, port, tile_creator, http_host): port=port, ) - prepare_shared(c) + # prepare_shared(c) if tile_creator: prepare_tile_creator(c) diff --git a/ssh_lib/config.py b/ssh_lib/config.py index 5268f32..4b35f25 100644 --- a/ssh_lib/config.py +++ b/ssh_lib/config.py @@ -3,4 +3,4 @@ from pathlib import Path base = Path(__file__).parent.parent config = base / 'config' -scripts = base / 'config' +scripts = base / 'scripts' diff --git a/ssh_lib/planetiler.py b/ssh_lib/planetiler.py index 387eea5..93d7be3 100644 --- a/ssh_lib/planetiler.py +++ b/ssh_lib/planetiler.py @@ -18,6 +18,6 @@ def install_planetiler(c): f'-O {PLANETILER_PATH}', ) - c.sudo(f'java -jar {PLANETILER_PATH} --help') + c.sudo(f'java -jar {PLANETILER_PATH} --help', hide=True) c.sudo('chown -R ofm:ofm /data/planetiler')