File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -368,4 +368,12 @@ static class CremeUnlock
368368
369369 boolean isExpired () { return LocalDateTime .now ().isAfter (unlockedAt .plusHours (hours )); }
370370 }
371+
372+ /** Standalone entry point — allows start-backend.sh to launch directly. */
373+ public static void main (String [] args ) throws InterruptedException
374+ {
375+ Gray85PortRegistryServer server = new Gray85PortRegistryServer ();
376+ server .start ();
377+ server .join ();
378+ }
371379}
Original file line number Diff line number Diff line change @@ -302,4 +302,12 @@ LocalDateTime expiresAt()
302302 };
303303 }
304304 }
305+
306+ /** Standalone entry point — allows start-backend.sh to launch directly. */
307+ public static void main (String [] args ) throws InterruptedException
308+ {
309+ GrayPortRegistryServer server = new GrayPortRegistryServer ();
310+ server .start ();
311+ server .join ();
312+ }
305313}
You can’t perform that action at this time.
0 commit comments