#include #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/watchdog-pipe"; const std::string RUNNING_FILE_NAME = "/tmp/obsw-running"; }