fix: 修改启动rtk

This commit is contained in:
yarnom 2025-10-29 17:00:21 +08:00
parent 2b58a59e6c
commit 678bf7697d

View File

@ -120,7 +120,7 @@ public class RtkClusterService implements ApplicationRunner {
} }
worker.submit(() -> { worker.submit(() -> {
try { try {
ProcessBuilder builder = new ProcessBuilder("rtkrcv", "-nc", "-o", confPath); ProcessBuilder builder = new ProcessBuilder("/opt/rtk/bin/rtkrcv", "-nc", "-o", confPath);
builder.directory(new File(workDir)); builder.directory(new File(workDir));
builder.redirectErrorStream(true); builder.redirectErrorStream(true);
LOGGER.info("Starting rtkrcv for {} with {}", deviceId, confPath); LOGGER.info("Starting rtkrcv for {} with {}", deviceId, confPath);