Use the root crontab and add an @reboot entry:bash<br>sudo crontab -e<br>Add a line like:bash<br>@reboot sudo /usr/bin/node /home/ubuntu/.../server.mjs<br>
bash<br>sudo crontab -e<br>
bash<br>@reboot sudo /usr/bin/node /home/ubuntu/.../server.mjs<br>