$ npm install create-systemd-service
create a systemd service from a start command.
npm install -g create-systemd-service create-systemd-service my-app ./my-app.js 'my application' sudo systemctl enable my-app sudo systemctl start my-app
MIT