TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. eggbean
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by eggbean

    • eggbeanE

      How to reduce size by removing dubious dependencies?

      General Discussion
      • • • eggbean
      5
      0
      Votes
      5
      Posts
      175
      Views

      RussR

      @eggbean, man that is brilliant! Nice job. I can't wait to read that blog post. I might want to do something similar.

      You don't need npm to run the agent. It's useful for installing the dependencies but it makes sense to remove it after.

      Thanks for sharing.

    • eggbeanE

      Is there a way to use this on a headless CentOS server?

      General Discussion
      • • • eggbean
      6
      0
      Votes
      6
      Posts
      213
      Views

      RussR

      @eggbean, I turned off emails from the forum because I was getting a lot of spammers. Since then they've stopped posting, so I'll turn it back on.

      To add/remove commands, edit your /root/.TRIGGERcmdData/commands.json file. Make sure you make them background commands because you're running the background agent.

      The background agent adds, removes, and runs background commands.

      FYI, if you find that your commands.json keeps reverting as soon as you save it, that means you've made some mistake in the json formatting so the agent restored the last good version of it.