I have an existing PM2 process that I would like to add the "--max-memory-restart" setting to. How can I do that? The process was created from the command line without a JSON file.
If I were creating a new process I would just run:
PM2 start [process name] --max-memory-restart 700M
or whatever
How can I do the same for an existing process? How can I confirm that it works?
Thanks!