MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Auto start when rebooting

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 1.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sakliadem @sdetweil
      last edited by

      @sdetweil Capture d’écran 2022-04-03 142101.png

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sakliadem @sakliadem
        last edited by

        @sakliadem when I write pm2 start mm.sh , it starts correctly , but when rebooting , nothing happens

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @sdetweil
          last edited by

          @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

          https://github.com/sdetweil/MagicMirror_scripts

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sakliadem @sdetweil
            last edited by

            @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 ?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @sakliadem
              last edited by sdetweil

              @sakliadem, for each

              pm2 start xxx.sh
              pm2 save

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sakliadem @sdetweil
                last edited by

                @sdetweil and how to stop the auto run ?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @sakliadem
                  last edited by sdetweil

                  @sakliadem stop from auto starting?

                  pm2 stop xx
                  pm2 save

                  reboot

                  see pm2 – help
                  for all the things it can do

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy