Read the statement by Michael Teeuw here.
Newbie here…My Rasberry Pi, needs to be reprogrammed everytime I shut it off. It is an 8gb with a 32gb sd. Can anyone help a newbie?
What do you meen whit reprogrammed, the mirror is not booting up or is the hol SD card empty? Where you from?
Thanks for response. If I shut RPi off it will reboot but not launch magic mirror. I am from USA, Boston area. SD card is brand new
Ok… so the folder MagicMirror is on the PI.
in the terminal…
sudo npm install -g pm2
DISPLAY=:0 npm start
CTRL-O en CTRL-X
chmod +x mm.sh
sudo pm2 startup systemd -u pi --hp /home/pi
now you can fire up the mirror
pm2 start mm.sh
Som useful commands MagicMirror:
Restart the MagicMirror
pm2 restart mm
Stop the MagicMirror
pm2 stop mm
The Log of the MagicMirror showing
pm2 logs mm
MagicMirror proces info
pm2 show mm
@jerryp i understand. but dont need to issue commands. my script does it all.
also included in my install script
This post is deleted!