MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. veitk
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    V
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Posts

    Recent Best Controversial
    • Two instances running if using pm2 start script

      Hi, i installed and everything looks good. I wrote the mm.sh to get pm2 to autostart.

      ~/MagicMirror
      DISPLAY=:0 npm start

      now i minimized with STRG+M and realized that there are two instances running.

      if i type pm2 stop mm it stops the second instance, and i see another which is called MagicMirror.

      How do i get it to start only one and still have the restart feature?

      i will delete the mm.sh now but i don’t think this is the way i want it?

      posted in Troubleshooting
      V
      veitk
    • 1 / 1