mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
root-watcher code
This commit is contained in:
parent
33c3af752b
commit
ff2b219abd
2 changed files with 19 additions and 0 deletions
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');
|
||||||
|
|
Loading…
Add table
Reference in a new issue