Verified Commit 488ff8ec authored by Aral Balkan's avatar Aral Balkan
Browse files

Remove the pm2 permission command (as it resets on restart anyway)

parent 6c6b04cb
......@@ -94,9 +94,8 @@ if ( !== undefined) {
stdio: 'pipe'
// TODO: Check these results for failure.
const startupResult = childProcess.execSync(`sudo ${path.join(__dirname, '../node_modules/pm2/bin/pm2')} startup`, options)
const permissionsResult = childProcess.execSync('sudo chown $(whoami):$(whoami) /home/$(whoami)/.pm2/rpc.sock /home/$(whoami)/.pm2/pub.sock', options)
// TODO: Check this for failure.
const output = childProcess.execSync(`sudo ${path.join(__dirname, '../node_modules/pm2/bin/pm2')} startup`, options)
console.log(` 😈 Installed for auto-launch at startup.\n`)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment