Johan Dahl

Results 5 comments of Johan Dahl

I solved it by installing pm2 and then make an alias which runs it as one user ```sh alias pm2='sudo -u node /usr/bin/pm2' ``` which i put in an shell...

I install it with `sudo rpm -g i pm2` so it gets globally installed. I then have one account node who nobody uses directly it is only used to run...

Hi. Is this on a production server? maybe you shouldn't use nvm or at least read up on using nvm in a multiuser enviroment. We install node as a package...

You can resize it while preserving aspect ratio. For example if you want to make it 50% of its original size do something like this: ```rust let (width, height) =...