Skip to content

Commit

Permalink
covfefe
Browse files Browse the repository at this point in the history
  • Loading branch information
yordadev committed Dec 1, 2018
1 parent 51eaea2 commit 710f6f9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 24 deletions.
21 changes: 18 additions & 3 deletions lib/configexample.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"notifyPort": "443 or 80",
"notifyPath": "/api/monitor"
},
"debug": {
"enabled": true
},
"security": {
"type": "custom",
"service": {
Expand All @@ -17,5 +14,23 @@
"token": "mymetricsjs"
}
}
},
"services": {
"enabled": "screen",
"available": {
"screen": {
"run": "screen -S mymetricsjs -dm node ./mymetrics.js",
"stop": "screen -S mymetricsjs -p 0 -X quit",
"install": "sudo apt-get install screen"
},
"pm2": {
"run": "pm2 start mymetrics.js",
"stop": "pm2 stop mymetrics.js",
"install": "npm install pm2@latest -g"
}
}
},
"debug": {
"enabled": true
}
}
21 changes: 0 additions & 21 deletions setup

This file was deleted.

0 comments on commit 710f6f9

Please sign in to comment.