1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <unistd.h> #include <stdio.h> #include "http_healthcheck.h" int main(int argc, char **argv) { http_healthcheck_server_start("./conf/http_healthcheck.conf"); sleep(30); http_healthcheck_server_stop(); return 0; }