mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
work
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -3,4 +3,4 @@ from pathlib import Path
|
||||
|
||||
base = Path(__file__).parent.parent
|
||||
config = base / 'config'
|
||||
scripts = base / 'config'
|
||||
scripts = base / 'scripts'
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user