npm avtostart ? did not find documentation how to make autostart cd .. && npm install && npm start FreeBSD 12.1-STABLE r362880 GENERIC amd64 npm_enable="yes" ????
I don't understand what it means.
Good afternoon ! I run with pens. cd .. && npm install && npm start I wanted to run it myself. After starting the server
Here is what you can do: - let's assume your project is in /home/project directory - you need to run "npm install" only once: (cd /home/project && npm install) - probably you want to run your project as some user (say "myuser") and not root. - after this you can add the following to the /etc/rc.local file: (cd /home/project && su myuser -c "npm start") hope this helps!