Read the statement by Michael Teeuw here.
Autostarts but doesn't run, will run on restart
-
@ember1205 the new script wipes the config folder already
-
Whatever it’s doing, it isn’t doing it correctly. “pm2 restart mm” lands me on the Chrome Desktop every time. I have to wipe the config folder by hand.
-
Its trying to wipe a non-existent directory
0|mm | + rm -rf /home/pi/.config/chromium-browser
-
@ember1205 ah. I ‘assumed’ folder name matched executable…doah…
-
@sdetweil said in Autostarts but doesn't run, will run on restart:
cd ~ rm -rf .config/chromium rm -rf .config/electron
This was what you had mentioned earlier in the thread and worked, and it’s what I built my config wipe based on.
-
@ember1205 do the curl again
-
Seems to be working reliably. Even why I simply do a “shutdown now” without any of my shutdown process items, it starts up correctly.
-
@ember1205 cool… thanks for the feedback…
i merged the changes into the master branch for all updates from now on -
Now I have to find something else to break… sigh… :)
-
@ember1205 thanks!.. this exposed another problem , using the script on an ubuntu system it opened the MM page in the running chrome instance and THEN DIDN’T WAIT… so the script ‘failed’ and pm2 restarted it , over and over and over…
So, i just fixed THAT too… (didn’t break the prior! lol)