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

    Install the background agent on a headless Linux server

    Scheduled Pinned Locked Moved Linux
    1 Posts 1 Posters 887 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.
    • RussR Offline
      Russ
      last edited by

      These instructions will install the background agent on CentOS, Redhat, or Fedora as a systemd daemon:

      Login as root with sudo su - and run these commands:

      wget https://s3.amazonaws.com/triggercmdagents/triggercmdagent-1.0.1.x86_64.rpm
      yum reinstall ./triggercmdagent-1.0.1.x86_64.rpm
      node /usr/share/triggercmdagent/resources/app/src/agent.js --console
      (Enter your token)
      (Press CTRL-C to exit the foreground agent)
      sh /usr/share/triggercmdagent/resources/app/src/installdaemon.sh
      systemctl status triggercmdagent
      

      Edit your /root/.TRIGGERcmdData/commands.json file to add background commands.

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • tuicemenT tuicemen moved this topic from Instructions on

      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