aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/arangodb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/arangodb.rb')
-rw-r--r--Library/Formula/arangodb.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/arangodb.rb b/Library/Formula/arangodb.rb
index 5e69be81f..c9399d216 100644
--- a/Library/Formula/arangodb.rb
+++ b/Library/Formula/arangodb.rb
@@ -2,8 +2,8 @@ require 'formula'
class Arangodb < Formula
homepage 'http://www.arangodb.org/'
- url 'https://www.arangodb.org/repositories/Source/ArangoDB-2.1.0.tar.gz'
- sha1 '06378c988139792e3d8b77176177f7761ba6300a'
+ url 'https://www.arangodb.org/repositories/Source/ArangoDB-2.1.1.tar.gz'
+ sha1 '1a7b076e91b716b6db1c61221751a3f433170d5c'
head "https://github.com/triAGENS/ArangoDB.git", :branch => 'unstable'
@@ -44,6 +44,10 @@ class Arangodb < Formula
(var/'log/arangodb').mkpath
end
+ def post_install
+ system "#{sbin}/arangod", "--upgrade", "--log.file", "-"
+ end
+
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/arangodb/sbin/arangod --log.file -"
def plist; <<-EOS.undent