Read the statement by Michael Teeuw here.
Starting MM on Reboot
-
I followed the instructions linked below to have Magic mirror start up automatically when i reboot my Pi, but for some reason its not working for me. If i run “pm2 start mm.sh” from the command line, it will restart MM anytime i close it, but once i reboot i just sit at the desktop. Any idea what i should try first to fix this? also, is there a way to make a desktop shortcut that i can click on to run MM in the event that this happens in the future?
https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
-
One or two things are usually the cause of this.
pm2 startup
“PM2 will now show you a command you need to execute.”This step gets missed a lot.
Or
pm2 start mm.sh
You mirror should now boot up and appear on your screen after a few seconds.Enable restarting of the MagicMirror script.
To make sure the MagicMirror restarts after rebooting, you need to save the current state of all scripts running via PM2. To do this, execute the following command
pm2 save
-
Thanks, i needed to execute the command
-
@termeric said in Starting MM on Reboot:
Thanks, i needed to execute the command
All is well. You’re welcome, mate. :-)