root-watcher code
This commit is contained in:
14
root-watcher/package.json
Normal file
14
root-watcher/package.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "zerotier-root-watcher",
|
||||
"version": "1.0.0",
|
||||
"description": "Simple background service to watch a cluster of roots and record peer info into a database",
|
||||
"main": "zerotier-root-watcher.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "ZeroTier, Inc. <contact@zerotier.com>",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"pg": "^6.1.5"
|
||||
}
|
||||
}
|
||||
5
root-watcher/zerotier-root-watcher.js
Normal file
5
root-watcher/zerotier-root-watcher.js
Normal file
@@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const pg = require('pg');
|
||||
const zlib = require('zlib');
|
||||
|
||||
Reference in New Issue
Block a user