[英]Modify the "exec cwd" path of the process -PM2
I have multiple processes that run on the server.我有多个在服务器上运行的进程。
One process that was set up incorrectly.一个设置不正确的进程。 I had to make it work (without touching things that do) so for this process :对于这个过程,我必须让它工作(不接触那些做的事情):
I would like to redirect the process from root to its own folder.我想将进程从根目录重定向到它自己的文件夹。 It seems I can do it simply by modifying the exec cwd but I don't know how to do it.看来我可以简单地通过修改exec cwd来做到这一点,但我不知道该怎么做。
Please help :) Cheers请帮助:)干杯
Ok well.好吧好吧。
It seems it is impossible to modify it like this as this functionality is not implemented.似乎不可能像这样修改它,因为这个功能没有实现。
Therefore:所以:
//Additional if you want to keep the process old Id //如果要保留进程旧ID,则附加
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.