netdata 1.13.0
Closes #37932. Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
parent
f5e5e62b6b
commit
3c05d3467c
1 changed files with 5 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
class Netdata < Formula
|
||||
desc "Distributed real-time performance and health monitoring"
|
||||
homepage "https://my-netdata.io/"
|
||||
url "https://github.com/netdata/netdata/releases/download/v1.11.1/netdata-v1.11.1.tar.gz"
|
||||
sha256 "0150b2a060da0e5cc844bd9540d6704cd352c434ea1bb9d5268131830a815736"
|
||||
url "https://github.com/netdata/netdata/releases/download/v1.13.0/netdata-v1.13.0.tar.gz"
|
||||
sha256 "258e64a945bf80e91c4bffab35e7f2d8930025246814038f541ff0ac403a666c"
|
||||
|
||||
bottle do
|
||||
sha256 "5c7c86d146d3d73fa791f30014242ed796a38809a3301a88f62555b8b20eb8bf" => :mojave
|
||||
|
@ -32,6 +32,7 @@ class Netdata < Formula
|
|||
s.gsub!(/web files owner = .*/, "web files owner = #{ENV["USER"]}")
|
||||
s.gsub!(/web files group = .*/, "web files group = #{Etc.getgrgid(prefix.stat.gid).name}")
|
||||
end
|
||||
(var/"netdata").mkpath
|
||||
end
|
||||
|
||||
plist_options :manual => "#{HOMEBREW_PREFIX}/sbin/netdata -D"
|
||||
|
@ -60,6 +61,8 @@ class Netdata < Formula
|
|||
test do
|
||||
system "#{sbin}/netdata", "-W", "set", "registry", "netdata unique id file",
|
||||
"#{testpath}/netdata.unittest.unique.id",
|
||||
"-W", "set", "registry", "netdata management api key file",
|
||||
"#{testpath}/netdata.api.key",
|
||||
"-W", "unittest"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue