Skip to content

v1.8.10

Compare
Choose a tag to compare
@cheton cheton released this 31 Dec 15:20
· 1228 commits to master since this release
  • Adds the ability to create and run shell commands from the web interface (resolves #75, #84)

    image

    See an example .cncrc file:

    {
      "watchDirectory": "/path/to/dir",
      "accessTokenLifetime": "30d",
      "allowRemoteAccess": false,
      "state": {
        "checkForUpdates": true
      },
      "commands": [
        {
          "text": "Check network connection",
          "command": "ping -c 10 127.0.0.1"
        },
        {
          "text": "Reboot",
          "command": "sudo /sbin/reboot"
        },
        {
          "text": "Shutdown",
          "command": "sudo /sbin/shutdown"
        }
      ],
      "macros": [],
      "users": []
    }