software:postgresql11 [PaleoEarthLabs wiki]

PaleoEarthLabs wiki

One bucket of limited wisdom

Site Tools


software:postgresql11

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
software:postgresql11 [2019/12/27 13:01]
christian [PostgreSQL]
software:postgresql11 [2019/12/27 18:08] (current)
christian
Line 79: Line 79:
 </​plist>​ </​plist>​
 </​file>​ </​file>​
 +
 +Homebrew'​s distro uses a slightly different version - here's the excerpt from the [[https://​github.com/​Homebrew/​homebrew-core/​blob/​master/​Formula/​postgresql@11.rb|postgresql.rb]] file:
 +
 +<code ruby>
 +  def plist; <<​~EOS
 +    <?xml version="​1.0"​ encoding="​UTF-8"?>​
 +    <​!DOCTYPE plist PUBLIC "​-//​Apple//​DTD PLIST 1.0//​EN"​ "​http://​www.apple.com/​DTDs/​PropertyList-1.0.dtd">​
 +    <plist version="​1.0">​
 +    <​dict>​
 +      <​key>​KeepAlive</​key>​
 +      <​true/>​
 +      <​key>​Label</​key>​
 +      <​string>#​{plist_name}</​string>​
 +      <​key>​ProgramArguments</​key>​
 +      <​array>​
 +        <​string>#​{opt_bin}/​postgres</​string>​
 +        <​string>​-D</​string>​
 +        <​string>#​{var}/#​{name}</​string>​
 +      </​array>​
 +      <​key>​RunAtLoad</​key>​
 +      <​true/>​
 +      <​key>​WorkingDirectory</​key>​
 +      <​string>#​{HOMEBREW_PREFIX}</​string>​
 +      <​key>​StandardOutPath</​key>​
 +      <​string>#​{var}/​log/#​{name}.log</​string>​
 +      <​key>​StandardErrorPath</​key>​
 +      <​string>#​{var}/​log/#​{name}.log</​string>​
 +    </​dict>​
 +    </​plist>​
 +  EOS
 +  end
 +</​code>​
 +
  
  
software/postgresql11.txt · Last modified: 2019/12/27 18:08 by christian