[package.json] rename daemon to drive

This commit is contained in:
Luk Lu
2021-06-20 08:40:10 +08:00
parent fbe04a810a
commit 414a997c36

View File

@@ -11,8 +11,8 @@
"mongod.pm2": "pm2 start -x /root/mongodb/bin/mongod -n mongod -- --port 6842 --auth --dbpath /data/db --logpath /root/mongodb/log/mongod.log", "mongod.pm2": "pm2 start -x /root/mongodb/bin/mongod -n mongod -- --port 6842 --auth --dbpath /data/db --logpath /root/mongodb/log/mongod.log",
"mongodump": "/root/mongodb/bin/mongodump -h localhost:6842 -d vic -o /root/mongodb/backup", "mongodump": "/root/mongodb/bin/mongodump -h localhost:6842 -d vic -o /root/mongodb/backup",
"mongorestore": "/root/mongodb/bin/mongorestore -h localhost:6842 -d vic /root/mongodb/backup/vic", "mongorestore": "/root/mongodb/bin/mongorestore -h localhost:6842 -d vic /root/mongodb/backup/vic",
"daemon.pm2": "cross-env NODE_ENV=production pm2 start index.js --name vic.server.mongo", "drive.pm2": "cross-env NODE_ENV=production pm2 start index.js --name vic.server.mongo",
"daemon.pm2cluster": "cross-env NODE_ENV=production pm2 start index.js --name vic.server.mongo -i max" "drive.pm2cluster": "cross-env NODE_ENV=production pm2 start index.js --name vic.server.mongo -i max"
}, },
"author": "Nova.xu", "author": "Nova.xu",
"license": "ISC", "license": "ISC",