• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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

  • E

    How to reduce size by removing dubious dependencies?

    General Discussion
    • • Jul 10, 2020, 9:01 PM • eggbean Jul 11, 2020, 11:45 AM
    5
    0
    Votes
    5
    Posts
    220
    Views

    R Jul 11, 2020, 11:45 AM

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

  • E

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

    General Discussion
    • • Jun 17, 2020, 2:11 PM • eggbean Jun 19, 2020, 11:41 AM
    6
    0
    Votes
    6
    Posts
    250
    Views

    R Jun 19, 2020, 11:41 AM

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