Read the statement by Michael Teeuw here.
2 MagicMirror windows
-
@sdetweil As in here?
/home/pi/MagicMirror
-
@umeeq yes… MM (or mm) = MagicMirror (tired of typing it out all the time)
-
@sdetweil No worries, I just wasn’t sure where you meant to copy it into.
I copied it into /home/pi/MagicMirror… ran
pm2 start mm.sh
and still nothing.I can execute the file from the folder location, but cant run
pm2 stop mm
to stop the app. I ranpm2 show mm
and got the result below. -
-
@sdetweil Copied from /home/pi/MagicMirror/installers into /home/pi/MagicMirror. Mind you I didn’t delete the original in the installers folder.
Bare with me with the hand-holding.
-
@umeeq - Looking at your info, the pm2 process is expecting to find the
mm.sh
file in the folder/home/pi
It’s this line:
script path /home/pi/mm.sh
So move the script to that location.
mv /home/pi/MagicMirror/mm.sh /home/pi chmod +x /home/pi/mm.sh
-
@bhepler This worked, thank you!