mongodb@*: fix plist (#35672)

This commit is contained in:
hyuraku 2019-01-07 20:27:48 +09:00 committed by FX Coudert
parent 0bb5a4cf27
commit 095ff7ed23
4 changed files with 4 additions and 4 deletions

View file

@ -74,7 +74,7 @@ class MongodbAT30 < Formula
EOS
end
plist_options :manual => "mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf"
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/mongodb@3.0/bin/mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf"
def plist; <<~EOS
<?xml version="1.0" encoding="UTF-8"?>

View file

@ -81,7 +81,7 @@ class MongodbAT32 < Formula
EOS
end
plist_options :manual => "mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf"
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/mongodb@3.2/bin/mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf"
def plist; <<~EOS
<?xml version="1.0" encoding="UTF-8"?>

View file

@ -82,7 +82,7 @@ class MongodbAT34 < Formula
EOS
end
plist_options :manual => "mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf"
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/mongodb@3.4/bin/mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf"
def plist; <<~EOS
<?xml version="1.0" encoding="UTF-8"?>

View file

@ -107,7 +107,7 @@ class MongodbAT36 < Formula
EOS
end
plist_options :manual => "mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf"
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/mongodb@3.6/bin/mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf"
def plist; <<~EOS
<?xml version="1.0" encoding="UTF-8"?>