• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 Nov 27, 2016, 1:05 AM

    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
    • L Offline
      lolobyte
      last edited by Nov 27, 2016, 10:22 AM

      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 Nov 27, 2016, 11:52 AM Nov 27, 2016, 11:49 AM

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

        Bild Text

        L 1 Reply Last reply Nov 27, 2016, 12:16 PM Reply Quote 0
        • B Offline
          broberg Project Sponsor
          last edited by Nov 27, 2016, 11:53 AM

          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 Nov 27, 2016, 12:13 PM

            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
            • L Offline
              lolobyte @Jeff
              last edited by Nov 27, 2016, 12:16 PM

              @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 Nov 27, 2016, 12:18 PM

                okay thanks :)

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  6/7
                  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