@shbatm I’ve tried the following steps but it still doesn’t work, can you help me?
- sudo pm2 startup systemd -u pi --hp /home/pi
- nano mm.sh
- cd ~/MagicMirror
DISPLAY=:0 npm start - CTRL-O
- Enter
- CTRL-X
- chmod +x mm.sh
- pm2 start mm.sh
- pm2 save
- sudo reboot
Thanks in advance.