4 ms·
What are some good practices to install this as a service (to replace apache, for example). Do you just setup a systemd script or you have any common utility fo
by jaimehrubiks 8y ago
What are some good practices to install this as a service (to replace apache, for example). Do you just setup a systemd script or you have any common utility for this? I read about pm2 being a common choice. Do you recommend it? Is there any alternative for multiple app types apart from node?
- onion2k 8y agoI use PM2. It's very good, and it keeps things in the node ecosystem.
- dzek69 8y agoPm2 isn't the best tool we could have, but it's probably the best one existing. To all future users: don't call `pm2 start ...` too often one by one (like in .sh script) - it won't start all of these, just some of them (at least on raspberry, maybe faster cpu helps here), use "ecosystem" feature for starting multiple services