Read the statement by Michael Teeuw here.
autostart + serveronly
-
I have a new MM instance for development and testing in an Ubuntu VM. My goal is to have MM autostart when the VM starts, and run in serveronly mode, since the VM has no console display…
I ran Sam’s script to install the instance, then went back and ran the autostart script, but it appears to start a regular MM instance and not a serveronly. I have uncommented the serverOnly command in config.js, set it to “true” and rebooted. It appears the regular instance of MM starts, but not the serveronly. I CAN manually start MM with ‘node serveronly’, but then it looks like two instances are running.
Where am I going wrong?
-
-
@sdetweil - thanks! I figured it just had to be something straightforward. I appreciate you pointing me to the right place.
-
@johngalt just for info.
pm2 info MagicMirror
(or whatever named task pm2 has defined)will tell you what it starts, and a bunch of other info
-
@sdetweil - Thanks Sam. That is what I had done, and so knew there were two instances running. I appreciate the tip and reminder.