Read the statement by Michael Teeuw here.
Auto start when rebooting
-
I’ve followed all the instruction for auto starting my mirror when rebooting , from https://docs.magicmirror.builders/configuration/autostart.html#using-pm2 but it still not starting when rebooting my RPi
-
@sdetweil it’s working now thanks , I have some others code that I want to run them in the background , how can i add them ?
-
@sakliadem can u show the output of pm2 logs --lines=30
-
-
@sakliadem when I write pm2 start mm.sh , it starts correctly , but when rebooting , nothing happens
-
@sakliadem after doing the pm2 start, you have to do the pm2 save, so it will know to restart that process…
u could use my script that does all that
see fixuppm2 at the bottom of -
@sdetweil it’s working now thanks , I have some others code that I want to run them in the background , how can i add them ?
-
@sakliadem, for each
pm2 start xxx.sh
pm2 save -
@sdetweil and how to stop the auto run ?
-
@sakliadem stop from auto starting?
pm2 stop xx
pm2 savereboot
see pm2 – help
for all the things it can do
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
