3 ms·
It's just something that's not needed. You can come up with a Unix solution by using bash, piping to logs, daemonizing with &. And as a bonus, it works for an
by TZubiri 3y ago
It's just something that's not needed.
You can come up with a Unix solution by using bash, piping to logs, daemonizing with &.
And as a bonus, it works for any program, not just with node stuff.
Remember, use the tools available in your foundation before adding more blocks to the pyramid
- iTokio 3y agoIs there a robust generic solution already existing? To launch multiples processes, load balance and automatically restart if one crash..
- flemhans 3y agoMaybe systemd? I just always find the unit files so cumbersome to deal with (actually I feed pm2 to ecosystem files to ChatGPT and let it deal with the conversion)