Ebook from Command line
-
Hi guys,
Is there a way to reboot MM from cli?
Best Regards
-
you can reboot from GA section system
-
Hi pitchx, thanks for the info. However I want to reboot the magic mirror app from Command line, which means ssh connected session to raspberry.
-
euh … warning we say:
- reboot a system
- restart an application
So reboot an application you can’t
-
You are right.
What about restart app from cli?
-
it all depends on how you start MM²
What’s command do you use ?
-
Actually I don’t use any commands to open app. When it rebooted, it opens automatically. I followed your documents to install it.
-
So it use
pm2
app for automatic launchFor help you, this is some commands:
-
Verify if MagicMirror is launched:
pm2 status
—> Find yourid
number of the MagicMirror app (Generaly it’s 0)
—> You will seeonline
if running -
See logs/error:
pm2 log 0
—> Replace0
by your ownid
-
Stop MagicMirror:
pm2 stop 0
—> Replace0
by your ownid
-
Start MagicMirror:
pm2 start 0
—> Replace0
by your ownid
-
Restart MagicMirror:
pm2 restart 0
—> Replace0
by your ownid
-
-
You are great man, thanks…