shmmonitor: distinguish daemon from monitor mode (orthogonal)

This commit is contained in:
Alexey Rybalchenko
2021-03-27 23:18:32 +01:00
parent 30e81d58f8
commit 5228407932
4 changed files with 34 additions and 26 deletions

View File

@@ -215,7 +215,7 @@ class Manager
boost::filesystem::path p = boost::process::search_path("fairmq-shmmonitor", ownPath);
if (!p.empty()) {
boost::process::spawn(p, "-x", "--shmid", id, "-d", "-t", "2000", env);
boost::process::spawn(p, "-x", "-m", "--shmid", id, "-d", "-t", "2000", env);
int numTries = 0;
do {
try {