Read the statement by Michael Teeuw here.
Magic Mirror Mac Mini npm start
-
@sdetweil said in Magic Mirror Mac Mini npm start:
did the mirror app start?
Yes starts, Now I try to restart the MacMini and see if Magic Mirror starts automatically
-
@sdetweil pity MagicMirror does not start automatically after reboot
-
Does anyone have Magic Mirror on the Mac Mini on the run???
How does she do that with the autostart?? -
forget pm2. this could be a help.
https://stackoverflow.com/questions/6442364/running-script-upon-login-mac -
@Sean
thanks, do I need to write a script? -
@drx1984
Wait a second. After trial on my mac, I’ll post for you. (And I think pm2 could also be available withlaunchd
) -
@Sean ok, that would be very nice
-
@drx1984
Ok. I found incredibly simple solution.sudo pm2 startup darwin
That’s all. It is already served by pm2 since https://github.com/Unitech/pm2/pull/936
(It will take a few seconds until MM starts from bootup) -
@Sean said in Magic Mirror Mac Mini npm start:
sudo pm2 startup darwin
ok thanks the command: sudo pm2 startup darwin tonight test and report you.
Many Thanks -
@Sean I just tried, unfortunately I get an error message. Do you know how I can solve this?
Thank you