TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Cant install background agent

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 2 Posters 1.4k Views 1 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.
    • T Offline
      TI_Gaming_TV
      last edited by TI_Gaming_TV

      i installed Triggercmd on by Dietpi and everything works fine, but im not able to install the background agent. My directory is root/TRIGGERcmd/src-Agent. The daemoninstall.sh is there, but im not able to install it.

      1 Reply Last reply Reply Quote 0
      • T Offline
        TI_Gaming_TV
        last edited by

        This is not existing:
        /usr/share/triggercmdagent/app/src/installdaemon.sh

        1 Reply Last reply Reply Quote 0
        • T Offline
          TI_Gaming_TV
          last edited by

          When i try this: /root/TRIGGERcmd-Agent/src/installdaemon.sh

          I get this: find: ‘/usr/*/triggercmdagent’: No such file or directory
          Failed to enable unit: Unit file triggercmdagent.service does not exist.
          Unit triggercmdagent.service could not be found.

          1 Reply Last reply Reply Quote 0
          • T Offline
            TI_Gaming_TV
            last edited by

            I changed some lines in daemoninstall.sh and it works now

            RussR 1 Reply Last reply Reply Quote 0
            • RussR Offline
              Russ @TI_Gaming_TV
              last edited by

              @TI_Gaming_TV good job getting it to work.

              If you don't mind sharing what you had to change, I could probably make the script more universal so it works on more OS's.

              Russell VanderMey

              1 Reply Last reply Reply Quote 0
              • T Offline
                TI_Gaming_TV
                last edited by

                I changed in the installdaemon.sh the code to this:

                find / root/TRIGGERcmd-Agent -type d -name "src" | grep /src | while read dname; do /root/TRIGGERcmd-Agent/src env node $dname/agent. js --daemoninstall /bin/sh $dname/daemonmqr.sh --add $HOME/ . TRIGGERcmdData

                RussR 1 Reply Last reply Reply Quote 0
                • RussR Offline
                  Russ @TI_Gaming_TV
                  last edited by

                  Thanks @TI_Gaming_TV.

                  Russell VanderMey

                  1 Reply Last reply Reply Quote 0

                  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
                  • First post
                    Last post