Read the statement by Michael Teeuw here.
MMM-remote-control Restart MM not possible
-
@oberfragger said in MMM-remote-control Restart MM not possible:
and used the script from
my script names the MM process MagicMirror
pm2 status will show you the names of the processes it manages
so, I think u have to change the rc parm for the pm2 process name
-
@sdetweil Thanks for your Info.
Sorry for asking… i dnot know what you mean with “RC”change the rc parm for the pm2 process name
or how tho change the process name…
-
@sdetweil Ui. I just found a possible solution.
I editet the node_helper.js in the folder /home/pi/MagicMirror/modules/MMM-Remote-Control
Line 959 from:let processName = query.processName || this.thisConfig.pm2ProcessName || "mm";
to
let processName = query.processName || this.thisConfig.pm2ProcessName || "MagicMirror";
Lets see how dirty this is…and if this destroys other things.
-
@oberfragger this.thisConfig.pm2ProcessName
means there is a configuration option for the remote control (aka rc) module, so you don’t have to change the code
-
@sdetweil Thanks a lot. Found it now. Its ‘pm2ProcessName’.