add runner service manager

This commit is contained in:
lxsang
2020-08-08 20:41:32 +02:00
parent 06fd912228
commit f0ec25e00a
8 changed files with 169 additions and 1 deletions

Binary file not shown.

View File

@@ -14,7 +14,7 @@
#include <antd/list.h>
#include <antd/bst.h>
#include "tunnel.h"
#include "../tunnel.h"
#define MODULE_NAME "vterm"
@@ -319,6 +319,8 @@ int main(int argc, char** argv)
printf("Usage: %s path/to/hotline/socket\n", argv[0]);
return -1;
}
signal(SIGPIPE, SIG_IGN);
signal(SIGABRT, SIG_IGN);
signal(SIGINT, int_handler);
M_LOG(MODULE_NAME, "Hotline is: %s", argv[1]);
// now try to request new channel from hotline