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

    Best posts made by draddog

    • RE: Contents of command.json getting lost

      OK, I ran the 4 commands you requested and the results are as follows:
      root@Gremlin:~# sudo su -
      root@Gremlin:~# /usr/share/triggercmdagent/app/src/installdaemon.sh
      Daemon install: true
      Logging in with saved token.
      Checking if the 6478e95100289c001b4fb9b9 computer exists.
      This computer exists in your account.
      ● triggercmdagent.service - TRIGGERcmd Agent
      Loaded: loaded (/etc/systemd/system/triggercmdagent.service; enabled; vend>
      Active: active (running) since Thu 2023-06-01 10:15:58 EDT; 11h ago
      Main PID: 328 (node)
      Tasks: 11 (limit: 414)
      CPU: 37.168s
      CGroup: /system.slice/triggercmdagent.service
      └─328 node /usr/share/triggercmdagent/app/src/daemon.js --run /roo>

      Jun 01 10:16:48 Gremlin env[328]: Logging in with saved token to run background>
      Jun 01 10:16:55 Gremlin env[328]: Write backup completed.
      Jun 01 10:16:56 Gremlin env[328]: |> Now connected to https://www.triggerc>
      Jun 01 10:16:56 Gremlin env[328]: ___/ For help, see: http://bit.ly/2q0QDpf
      Jun 01 10:16:56 Gremlin env[328]: (using sails.io.js node SDK @v1.1.13)
      Jun 01 10:16:56 Gremlin env[328]: Connected at: Thu Jun 01 2023 10:16:>
      Jun 01 10:16:57 Gremlin env[328]: { message: 'Subscribed to 646fec86bda2b8001ac>
      Jun 01 10:16:57 Gremlin env[328]: { message: 'Subscribed to 646fec86bda2b8001ac>
      Jun 01 10:16:57 Gremlin env[328]: Initiated command adds
      Jun 01 10:16:57 Gremlin env[328]: Initiated command removals
      lines 1-19/19 (END)
      ^C
      root@Gremlin:~# systemctl status triggercmdagent
      ● triggercmdagent.service - TRIGGERcmd Agent
      Loaded: loaded (/etc/systemd/system/triggercmdagent.service; enabled; vend>
      Active: active (running) since Thu 2023-06-01 10:15:58 EDT; 11h ago
      Main PID: 328 (node)
      Tasks: 11 (limit: 414)
      CPU: 37.201s
      CGroup: /system.slice/triggercmdagent.service
      └─328 node /usr/share/triggercmdagent/app/src/daemon.js --run /roo>

      Jun 01 10:16:48 Gremlin env[328]: Logging in with saved token to run background>
      Jun 01 10:16:55 Gremlin env[328]: Write backup completed.
      Jun 01 10:16:56 Gremlin env[328]: |> Now connected to https://www.triggerc>
      Jun 01 10:16:56 Gremlin env[328]: ___/ For help, see: http://bit.ly/2q0QDpf
      Jun 01 10:16:56 Gremlin env[328]: (using sails.io.js node SDK @v1.1.13)
      Jun 01 10:16:56 Gremlin env[328]: Connected at: Thu Jun 01 2023 10:16:>
      Jun 01 10:16:57 Gremlin env[328]: { message: 'Subscribed to 646fec86bda2b8001ac>
      Jun 01 10:16:57 Gremlin env[328]: { message: 'Subscribed to 646fec86bda2b8001ac>
      Jun 01 10:16:57 Gremlin env[328]: Initiated command adds
      Jun 01 10:16:57 Gremlin env[328]: Initiated command removals
      lines 1-19/19 (END)
      ^C
      root@Gremlin:~# cat /root/.TRIGGERcmdData/debug.log
      cat: /root/.TRIGGERcmdData/debug.log: No such file or directory
      root@Gremlin:~# triggercmdagent
      Run installdaemon.sh to install the triggercmdagent daemon so it runs during boot
      Daemon install: false
      Logging in with saved token.
      Checking if the 6478e95100289c001b4fb9b9 computer exists.
      This computer exists in your account.
      Tokenfile: /root/.TRIGGERcmdData/token.tkn
      ComputerIDfile: /root/.TRIGGERcmdData/computerid.cfg
      Logging in with saved token to run foreground tasks.
      Write backup completed.

      |> Now connected to https://www.triggercmd.com.
      ___/ For help, see: http://bit.ly/2q0QDpf
      (using sails.io.js node SDK @v1.1.13)
      Connected at: Thu Jun 01 2023 22:13:35 GMT-0400 (Eastern Daylight Time)

      Initiated command removals
      { message: 'Subscribed to 6478e95100289c001b4fb9b9!' }
      { message: 'Subscribed to 6478e95100289c001b4fb9b9!' }
      Initiated command adds
      ^C
      root@Gremlin:~#

      posted in Raspberry Pi
      D
      draddog