fix: 修改启动rtk
This commit is contained in:
parent
2b58a59e6c
commit
678bf7697d
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user