mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
sync, check disk space
This commit is contained in:
@@ -110,9 +110,7 @@ def add_http_host_cron(c):
|
||||
|
||||
|
||||
def run_http_host_sync(c):
|
||||
sudo_cmd(
|
||||
c, '/data/ofm/venv/bin/python -u /data/ofm/http_host/bin/host_manager.py sync', user='ofm'
|
||||
)
|
||||
sudo_cmd(c, '/data/ofm/venv/bin/python -u /data/ofm/http_host/bin/host_manager.py sync')
|
||||
|
||||
|
||||
def upload_https_host_files(c):
|
||||
@@ -218,6 +216,7 @@ def tile_gen(hostname, user, port):
|
||||
def debug(hostname, user, port):
|
||||
c = get_connection(hostname, user, port)
|
||||
|
||||
upload_https_host_files(c)
|
||||
run_http_host_sync(c)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user