====== Node.js ====== I'm currently using [[https://nodejs.org/en/|node.js]] and [[https://pm2.keymetrics.io/docs/usage/quick-start/|pm2]] to manage a [[https://foundryvtt.com/|Foundry VTT]] instance. ===== Create pm2 service ===== pm2 start ~/foundryvtt/resources/app/main.js --name "foundryvtt" -- --dataPath=/home/gabriel/foundrydata ==== Management ==== # list all installed services pm2 list # start service pm2 start foundryvtt # stop service pm2 stop foundryvtt # disable and delete service pm2 delete foundryvtt