mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
work
This commit is contained in:
@@ -4,7 +4,7 @@ import click
|
|||||||
from dotenv import dotenv_values
|
from dotenv import dotenv_values
|
||||||
from fabric import Config, Connection
|
from fabric import Config, Connection
|
||||||
|
|
||||||
from ssh_lib.config import config
|
from ssh_lib.config import scripts
|
||||||
from ssh_lib.kernel import set_cpu_governor, setup_kernel_settings
|
from ssh_lib.kernel import set_cpu_governor, setup_kernel_settings
|
||||||
from ssh_lib.nginx import certbot, nginx
|
from ssh_lib.nginx import certbot, nginx
|
||||||
from ssh_lib.pkg_base import pkg_base, pkg_clean, pkg_upgrade
|
from ssh_lib.pkg_base import pkg_base, pkg_clean, pkg_upgrade
|
||||||
@@ -28,7 +28,7 @@ def prepare_tile_creator(c):
|
|||||||
install_planetiler(c)
|
install_planetiler(c)
|
||||||
put(
|
put(
|
||||||
c,
|
c,
|
||||||
config / 'planetiler' / 'run_planet.sh',
|
scripts / 'planetiler' / 'run_planet.sh',
|
||||||
PLANETILER_DIR,
|
PLANETILER_DIR,
|
||||||
permissions='755',
|
permissions='755',
|
||||||
owner='ofm',
|
owner='ofm',
|
||||||
|
|||||||
@@ -3,3 +3,4 @@ from pathlib import Path
|
|||||||
|
|
||||||
base = Path(__file__).parent.parent
|
base = Path(__file__).parent.parent
|
||||||
config = base / 'config'
|
config = base / 'config'
|
||||||
|
scripts = base / 'config'
|
||||||
|
|||||||
Reference in New Issue
Block a user