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

    Install from github repo?

    General Discussion
    2
    23
    5.3k
    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
      Russ @stevef9432203
      last edited by

      @stevef9432203, please confirm - your commands.json stays when the router reboots, but your token.tkn file and computerid.cfg file go away? If so that's odd because the agent doesn't keep those two files open - it just reads them during startup.

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • S
        stevef9432203
        last edited by

        Yes the commands.json files stay intact. I will move content startup directory to hard disk storage to test. Can I specify the path to the data directory with the '--run' path prefix ?

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

          @stevef9432203, no, but you could change this line to set your "homedir" to something else.

          homedir = (process.platform === 'win32') ? process.env.HOMEPATH : process.env.HOME;
          

          Or maybe you could symlink your ~/.TRIGGERcmdData folder to a path on your hard drive.

          Russell VanderMey

          1 Reply Last reply Reply Quote 0
          • First post
            Last post