Hanlen
11/15/2019 - 9:59 AM

go-bin-rpm json

{
  "name": "agentkeeper",
  "version": "1.4.0",
  "arch": "amd64",
  "release": "3",

  "summary": "agentkeeper",
  "group": "Utilities/System",
  "license": "LICENSE",
  "description": "agentkeeper",
  "files": [
    {
      "from": "build/amd64/agentkeeper",
      "to": "/usr/local/agentkeeper/bin/",
      "base": "build/amd64/",
      "type": "",
	  "fperm": "0755"
    },
    {
      "from": "build/amd64/updater",
      "to": "/usr/local/agentkeeper/bin/",
      "base": "build/amd64/",
      "type": "",
      "fperm": "0755"
    },
    {
      "from": "build/amd64/boxreport",
      "to": "/usr/local/agentkeeper/bin/",
      "base": "build/amd64",
      "fperm": "0755"
    },
    {
      "from": "wangsu/bin/x64/speedtest",
      "to": "/usr/local/agentkeeper/bin",
      "base": "wangsu/bin/x64",
      "fperm": "0755"
    },
    {
      "from": "wangsu/bin/x64/go-stun",
      "to": "/usr/local/agentkeeper/bin",
      "base": "wangsu/bin/x64",
      "fperm": "0755"
    },
    {
      "from": "wangsu/etc/config.yml",
      "to": "/usr/local/agentkeeper/etc/",
      "base": "wangsu/etc",
      "fperm": "0660"
    },
    {
      "from": "wangsu/rpm/agentkeeper",
      "to": "/usr/local/agentkeeper/sbin/",
      "base": "wangsu/rpm/",
      "fperm": "0755"
    },
    {
      "from": "wangsu/rpm/agentkeeper.service",
      "to": "/lib/systemd/system/",
      "base": "wangsu/rpm/",
      "fperm": "0755"
    },
    {
      "from": "wangsu/sbin/agentkeeper_mon.sh",
      "to": "/usr/local/agentkeeper/sbin/",
      "base": "wangsu/sbin/",
      "fperm": "0755"
    },
    {
      "from": "wangsu/sbin/sn.sh",
      "to": "/usr/local/agentkeeper/sbin/",
      "base": "wangsu/sbin/",
      "fperm": "0755"
    },
    {
      "from": "wangsu/sbin/agentkeeper_cron",
      "to": "/usr/local/agentkeeper/sbin/",
      "base": "wangsu/sbin/",
      "fperm": "0755"
    },
    {
      "from": "wangsu/sbin/GetDiskInfo.sh",
      "to": "/usr/local/agentkeeper/sbin/",
      "base": "wangsu/sbin/",
      "fperm": "0755"
    },
    {
      "from": "wangsu/sbin/kill.sh",
      "to": "/usr/local/agentkeeper/sbin/",
      "base": "wangsu/sbin/",
      "fperm": "0755"
    },
    {
      "from": "wangsu/sbin/ssh_n2n.sh",
      "to": "/usr/local/agentkeeper/sbin/",
      "base": "wangsu/sbin/",
      "fperm": "0755"
    },
    {
      "from": "wangsu/data/reportauthtoken",
      "to": "/usr/local/agentkeeper/data/",
      "base": "wangsu/data/",
      "fperm": "0755"
    },
    {
      "from": "wangsu/data/reporturl",
      "to": "/usr/local/agentkeeper/data/",
      "base": "wangsu/data/",
      "fperm": "0755"
    }
  ],
  "systemd-file": "wangsu/rpm/agentkeeper.service",
  "preinst": "wangsu/rpm/preinst.sh",
  "postinst": "wangsu/rpm/postinst.sh",
  "prerm": "wangsu/rpm/prerm.sh",
  "postrm": "wangsu/rpm/postrm.sh",
	"define": "__strip /bin/true"
}