eive-obsw/watchdog/watchdogConf.h.in

17 lines
434 B
C
Raw Normal View History

2021-07-29 11:35:20 +02:00
#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;
2021-07-29 11:59:32 +02:00
const std::string FIFO_NAME = "/tmp/watchdog-pipe";
2021-07-29 11:35:20 +02:00
const std::string RUNNING_FILE_NAME = "/tmp/obsw-running";
}