mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-18 07:42:08 +08:00
Free Galaxy
This commit is contained in:
@@ -221,11 +221,6 @@ def main():
|
||||
is_paired = galaxy_password_hash and len(galaxy_password_hash) == 64 and slug
|
||||
|
||||
if is_paired:
|
||||
if process is not None and process.poll() is None and not local_galaxy_ready():
|
||||
print(f"Galaxy: Web app is not ready on {GALAXY_WEB_HOST}:{GALAXY_WEB_PORT}. Stopping frpc tunnel until it recovers...")
|
||||
cleanup_frpc()
|
||||
last_slug = None
|
||||
|
||||
if process is None or process.poll() is not None or slug != last_slug:
|
||||
cleanup_frpc()
|
||||
if process is not None and slug == last_slug:
|
||||
|
||||
@@ -220,8 +220,8 @@ procs = [
|
||||
|
||||
# StarPilot variables
|
||||
procs += [
|
||||
PythonProcess("the_galaxy", "starpilot.system.the_galaxy.the_galaxy", always_run, nice=19),
|
||||
PythonProcess("galaxy", "starpilot.system.galaxy.galaxy", always_run, nice=19),
|
||||
PythonProcess("the_galaxy", "starpilot.system.the_galaxy.the_galaxy", always_run, nice=10),
|
||||
PythonProcess("galaxy", "starpilot.system.galaxy.galaxy", always_run, nice=10),
|
||||
]
|
||||
|
||||
device_type = HARDWARE.get_device_type()
|
||||
|
||||
Reference in New Issue
Block a user