Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Solved daemon(startup script) not executing what ssh does

    Recalbox General
    daemonstartup script executing ssh does
    3
    7
    1588
    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.
    • MinZe
      MinZe last edited by MinZe

      Hello, my custom start script doesnt execute correctly what my ssh does... its about rclone (uses rsync) and even though it does the infinite and execute the echo and the recallog, the rclone's commands don't, while executing the same file over ssh allows me to do so.
      My daemon script works because it calls the other script with the command.
      the script that the daemon calls:

      #!/bin/bash
      rclone copy /recalbox/share/saves/ gdmedia:rpi > /dev/null
      

      edit: I tried without !/bin/bash too

      voljega 1 Reply Last reply Reply Quote 0
      • voljega
        voljega Banned @MinZe last edited by

        @minze Hello minze think it would be better if you used one subject for all your questions regarding your script.

        For rclone, don't know it enough to help, sorry

        MinZe 1 Reply Last reply Reply Quote 0
        • MinZe
          MinZe @voljega last edited by

          @voljega well the other posts' main problem are solved, but as the main thing is not, I haven put [solved] in the title

          Substring 1 Reply Last reply Reply Quote 0
          • Substring
            Substring @MinZe last edited by

            @minze solved is added through topic tools, you can't edit the title.

            Regarding your problem : put the full path to the rclone binary at least. How have you demonized it ?

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            MinZe 1 Reply Last reply Reply Quote 0
            • MinZe
              MinZe @Substring last edited by

              @substring About the rclone, I haven't, I added the full path for rclone and still doesn't work like it does on ssh. The script that calls rclone I have done chmod u+x and it's in /etc/init.d/
              Is there someway to see the actual recalbox terminal without having to exit emulationstation and/or from the pc?

              Substring 1 Reply Last reply Reply Quote 0
              • Substring
                Substring @MinZe last edited by

                @minze plug a keyboard on the pi, press F4 then ALT+F2

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                MinZe 1 Reply Last reply Reply Quote 0
                • MinZe
                  MinZe @Substring last edited by

                  @substring Thanks to that I've found that on the daemon, it searched for one .conf on another place. Now I've solved and it's fully working without problem.
                  If I have time, this weekend I'll make the tutorial for recalbox. If I do it, it'll be at least for GDrive, maybe for onedrive too (can't promise anything as it should be almost the same).

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Want to support us ?

                  74
                  Online

                  98.7k
                  Users

                  28.1k
                  Topics

                  187.0k
                  Posts

                  Copyright © 2021 recalbox.com