I wanted MeshCentral to start on reboot so I put the command before exit 0 in this file:

nano /etc/rc.local

node /root/meshcentral/node_modules/meshcentral/meshcentral --cert Put Name Here

Reference: https://stackoverflow.com/questions/16823361/how-can-i-run-a-command-at-boot