Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    End MM from Terminal

    Troubleshooting
    4
    7
    3594
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jeff last edited by

      Hi,
      if I start MM from my computer via ssh terminal, how can I finish the prozess?
      In the terminal its’s just the runnnig prozess…

      Thanks

      1 Reply Last reply Reply Quote 0
      • lolobyte
        lolobyte last edited by

        Controlling you MagicMirror via PM2

        Restarting your MagicMirror
        pm2 restart mm

        Stopping your MagicMirror
        pm2 stop mm

        Show the MagicMirror logs
        pm2 logs mm

        Show the MagicMirror process information
        pm2 show mm

        https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide

        1 Reply Last reply Reply Quote 0
        • J
          Jeff last edited by Jeff

          I think that doesn’t work correctly…
          Or I made a mistake

          Bild Text

          lolobyte 1 Reply Last reply Reply Quote 0
          • broberg
            broberg Project Sponsor last edited by

            I’m just guessing, since I know nothing.
            Don’t you have to start it with pm2 to close it with pm2?

            Ie use pm2 start instead of npm start

            1 Reply Last reply Reply Quote 0
            • D
              dbahn25 last edited by

              You have to use the pm2 service manager to be able to stop MM with pm2 stop mm

              if you just use npm start, you need to press CTRL+C to stop it.
              CTRL+C stops any running process in the terminal you are currently in (so e.g. apt-get upgrade could be stopped with it)

              1 Reply Last reply Reply Quote 0
              • lolobyte
                lolobyte @Jeff last edited by

                @Jeff

                like u start the npm use CTRL+c or CTRL+X like dbahn25 mentioned.

                1 Reply Last reply Reply Quote 0
                • J
                  Jeff last edited by

                  okay thanks 🙂

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy