added eive-watchdog
This commit is contained in:
16
watchdog/watchdogConf.h.in
Normal file
16
watchdog/watchdogConf.h.in
Normal file
@ -0,0 +1,16 @@
|
||||
#include <cstdint>
|
||||
|
||||
#define WATCHDOG_VERBOSE_LEVEL 1
|
||||
/**
|
||||
* This flag instructs the watchdog to create a special file in /tmp if the OBSW is running
|
||||
* or to delete it if it is not running
|
||||
*/
|
||||
#define WATCHDOG_CREATE_FILE_IF_RUNNING 1
|
||||
|
||||
namespace watchdog {
|
||||
|
||||
static constexpr int TIMEOUT_MS = 10 * 1000;
|
||||
const std::string FIFO_NAME = "/tmp/obsw-watchdog";
|
||||
const std::string RUNNING_FILE_NAME = "/tmp/obsw-running";
|
||||
|
||||
}
|
Reference in New Issue
Block a user