Read the statement by Michael Teeuw here.
Auto-restart after quitting
-
@cpcode do you use pm2 to autostart MM at boot?
if so, pm2’s JOB is to keep the app running… if it crashes, it is restarted…
so, after you minimize (instead of close)
open a terminal window and dopm2 status
then
pm2 stop x
where x is the name or number of the row the app is onthen to restart without rebooting
pm2 start x -
@sdetweil I’m not using pm2 - I didn’t install it and the log I posted above has a row that says ‘You are not using pm2’. Is there a similar thing that would keep rebooting my mirror?
-
@cpcode can you show me how you start it? is there a bash script you created?
-
@sdetweil I open the Git Bash console, go to the MagicMirror folder, and type npm start
No flags or scripts. Is there a better way? -
@cpcode well, a script or pm2 with a script…
I’ve never heard of MM restarting if you use npm start and select close or use ctrl-q