Read the statement by Michael Teeuw here.
Autostart Magic Mirror not working
-
ive used this link to the “T” and watched numerous videos and cannot get the pi to autoboot to magic mirror. Any help would be appreciated.https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
When I try the ‘chmod +x mm.sh’ nothing happens.pi@raspberrypi:~ $ pm2 start mm.sh
[PM2] Applying action restartProcessId on app [mm](ids: [ 0 ])
[PM2] mm ✓
[PM2] Process successfully started
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ mm │ fork │ 1 │ online │ 0% │ 2.9mb │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~ $ pm2 save
[PM2] Saving current process list…
[PM2] Successfully saved in /home/pi/.pm2/dump.pm2
pi@raspberrypi:~ $Another question:
I would like the magic mirror to turn on and off at certain times. Is the pi supposed to run continuously and just start and stop magic mirror or is everything supposed to turn on and off? Im new to all this and slowly working my way through. -
@hawkeyepilot69 pm2’s Job is to start apps and keep them running. if u kill it manually
ctrl-q,
them pm2 will restart it. every time
pm2 save
did the setup to auto start.IF you did the pm2 autostart command and it’s output