This commit is contained in:
Zsolt Ero
2025-10-10 00:54:09 +02:00
parent 52e34fc1c9
commit 407d534801
5 changed files with 13 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
import os
import click
import json5
from fabric import Config, Connection
from ssh_lib.config import config
@@ -79,7 +80,9 @@ def http_host_autoupdate(hostname, user, port, noninteractive):
# prepare_shared(c)
prepare_http_host(c)
run_http_host_sync(c) # disable for first install if you don't want to wait
# for the monaco run, wait for the sync to complete
if json5.loads(config.local_config_jsonc.read_text()).get('skip_planet'):
run_http_host_sync(c)
put(c, config.local_modules_dir / 'http_host' / 'cron.d' / 'ofm_http_host', '/etc/cron.d/')