Erlan Sobakin

Results 16 comments of Erlan Sobakin

This method is the best at the moment: Edit file: **/etc/systemd/system/pm2-root.service** 1. Add new line: ```Environment=PM2_PID_FILE_PATH=/run/pm2.pid``` 2. And replace: ```PIDFile=/root/.pm2/pm2.pid``` to: ```PIDFile=/run/pm2.pid``` _Versions:_ - _CentOS 8.3.2011_ - _Node.js 14.16.0_ -...

This method is the best at the moment: Edit file: **/etc/systemd/system/pm2-root.service** 1. Add new line: ```Environment=PM2_PID_FILE_PATH=/run/pm2.pid``` 2. And replace: ```PIDFile=/root/.pm2/pm2.pid``` to: ```PIDFile=/run/pm2.pid``` _Versions:_ - _CentOS 8.3.2011_ - _Node.js 14.16.0_ -...

> @gsouf we have a unit-test similar to that in our codebase. > > ``` > const browser = await puppeteer.launch() > const page = await browser.newPage() > > const...