End MM from Terminal
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…
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
I think that doesn’t work correctly…
Or I made a mistake
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
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)
like u start the npm use CTRL+c or CTRL+X like dbahn25 mentioned.
okay thanks :)