remove sudo from npm scripts

This commit is contained in:
luk.lu
2019-09-24 09:19:36 +08:00
parent 8f753c0f4b
commit 540b5467e9
2 changed files with 3 additions and 3 deletions

View File

@@ -6,8 +6,8 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "node --inspect-brk ./",
"mongod": "sudo /mongodb/bin/mongod -f /mongodb/mongodb.conf --logpath /data/log/mongo.log",
"daemon": "sudo cross-env NODE_ENV=production pm2 start index.js --name fiv.server"
"mongod": "/mongodb/bin/mongod -f /mongodb/mongodb.conf --logpath /data/log/mongo.log",
"daemon": "cross-env NODE_ENV=production pm2 start index.js --name fiv.server"
},
"author": "Nova.xu",
"license": "ISC",