-
Notifications
You must be signed in to change notification settings - Fork 137
/
package.json
42 lines (42 loc) · 1004 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "pm2-logrotate",
"version": "2.7.0",
"description": "Module to rotate logs of every pm2 application",
"main": "app.js",
"dependencies": {
"graceful-fs": "^4.2.2",
"moment-timezone": "^0.5.11",
"node-schedule": "^1.3.1",
"pm2": "latest",
"pmx": "latest"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Joni SHKURTI",
"repository": {
"type": "git",
"url": "git+https://github.com/pm2-hive/pm2-logrotate.git"
},
"bugs": {
"url": "https://github.com/pm2-hive/pm2-logrotate/issues"
},
"homepage": "https://github.com/pm2-hive/pm2-logrotate",
"license": "MIT",
"apps": [
{
"name": "pm2-logrotate",
"script": "app.js",
"max_memory_restart" : "500M"
}
],
"config": {
"max_size": "10M",
"retain": "30",
"compress": false,
"dateFormat": "YYYY-MM-DD_HH-mm-ss",
"workerInterval": "30",
"rotateInterval": "0 0 * * *",
"rotateModule": true
}
}