
When I used cncjs with my laser engraver, I had to start manually it at each startup which can be annoying. Furthermore, I added a script for the streaming of the camera.
The keyword that needs to be used is “@reboot“. Then, eachtime your computer starts, it will also launch the script.