Read the statement by Michael Teeuw here.
Magic Mirror Does Not Close
-
I was trying to make my magic mirror start from the beginning so I followed this manuals steps: https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
It is working fine but there is also another magic mirror boots up in the background and if I close it, it launches back in seconds.
It was a long time since I edited the code so I do not really remember what I have done before pm2 to auto-start my magic mirror. Any help appreciated. -
@okg21 said in Magic Mirror Does Not Close:
if I close it, it launches back in seconds.
How do you close it?
-
Sounds like you have PM2 auto-starting.
Minimize the MM window instead of quitting and run
pm2 stop mm
orpm2 stop magicmirror
in your terminal. This will stop MM from auto launching until a reboot. -
-
Stop that one too.
If you have 2 instances of pm2 you can delete one.
pm2 stop mm
pm2 delete mm
pm2 save
rm ~/mm.sh
Then check your instances again
-
-
@lavolp3 said in Magic Mirror Does Not Close:
I’d say it’s best to first check if two instances are running with
3 posts above
Quote from @okg21 : “@lavolp3 @Mykle1 I close it with pm2 stop mm but there is still one remaining.”
-
You can stop them all at once by entering
pm2 stop all
-
Sory guys it’s been a long time. İ deleted pm2 but it is something different mm starts back up whenever I close it.