Skip to content

Commit d6f564c

Browse files
authored
Merge pull request #1 from ziccardi/DEVELOPMENT
Changed JNRPE to depend on JNRPE-LIB module Added acceptparams configuration
2 parents 38d68a0 + c65fbdc commit d6f564c

File tree

5 files changed

+1097
-10
lines changed

5 files changed

+1097
-10
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@ typings/
5959

6060
# next.js build output
6161
.next
62+
63+
# vscode folders
64+
.vscode/

config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"server": {
33
"address": "127.0.0.1",
44
"port": 5667,
5-
"plugins": "/path/to/plugins"
5+
"plugins": "/path/to/plugins",
6+
"acceptparams": true
67
},
78
"commands": {
89
}

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
const pkg = require('./package.json')
12
var JNRPEServer = require('jnrpe-lib').JNRPEServer;
23
const config = require('./config.json');
34

4-
new JNRPEServer(config).start();
5+
new JNRPEServer(config).start();
6+
console.log(`JNRPE ${pkg.version} listening on port ${config.server.port}`);

0 commit comments

Comments
 (0)