PM2 Startup on Boot (systemd)
Generates and executes the startup hook so PM2 and all its managed processes restart automatically after a server reboot. Run the output command as root.
When you need this: After configuring PM2 to manage your Node.js processes, before rebooting.
Command
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.