This commit is contained in:
Zsolt Ero
2023-12-07 22:50:36 +01:00
parent 55e6df291a
commit 5831068231
3 changed files with 4 additions and 4 deletions

View File

@@ -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)

View File

@@ -3,4 +3,4 @@ from pathlib import Path
base = Path(__file__).parent.parent
config = base / 'config'
scripts = base / 'config'
scripts = base / 'scripts'

View File

@@ -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')