MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    End MM from Terminal

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 4 Posters 4.4k Views 3 Watching
    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 Offline
      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
      • lolobyteL Offline
        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 Offline
          Jeff
          last edited by Jeff

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

          Bild Text

          lolobyteL 1 Reply Last reply Reply Quote 0
          • brobergB Offline
            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 Offline
              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
              • lolobyteL Offline
                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 Offline
                  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 Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy