Some raspberry pi things that aren't in the wiki for laserweb:

Some raspberry pi things that aren’t in the wiki for laserweb:

In order to get the service to start properly on raspberry pi, you need to edit this line inside of “laserweb3.service” before you copy it:
ExecStart=/usr/local/bin/node /home/pi/LaserWeb3/server-smoothie-grbl.js

It needs to be either :
ExecStart=/usr/local/bin/node /home/pi/LaserWeb3/server-smoothie.js
or :
ExecStart=/usr/local/bin/node /home/pi/LaserWeb3/server–grbl.js
As there is no file in the LaserWeb3 folder named “server-smoothie-grbl.js”

You also need to use sudo when you copy it, as the “/etc/systemd/system/” path is not able to be written by the default user.

If you wanted this to be easier for the end user, so they don’t need to use nano to edit the file, you could simply have 2 different services, ex laserweb3grbl.service and laserweb3smoothie.service and just tell the user to copy whichever one matches the device they are using.

I will modify the wiki with this info. Thanks for pointing this out to us.

thank you