-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run Postgres if not running #93
Comments
"ps ux | grep postgres" ? or something to that effect. Brew installed stuff If it didn't, you'd do something like (as on debian) "ps u -u postgres" On Tue, Apr 16, 2013 at 12:23 PM, Dan Croak notifications@github.comwrote:
|
Homebrew instructions are:
|
This issue and #243 more or less the same issue. |
The def post_install
unless File.exist? "#{var}/postgres"
system "#{bin}/initdb", "#{var}/postgres"
end
end |
`brew services` is no longer supported: Homebrew/legacy-homebrew@c0b99c0 Also fixes #93 and #243. Idempotently creates Postgres database cluster and starts (or restarts) Postgres.
Take a look at #254. I believe that is a pretty decent idempotent fix. |
`brew services` is no longer supported: Homebrew/legacy-homebrew@c0b99c0 Also fixes #93 and #243. Idempotently creates Postgres database cluster and starts (or restarts) Postgres.
`brew services` is no longer supported: Homebrew/legacy-homebrew@c0b99c0 * Fixes #93 * Fixes #243 * Idempotently creates Postgres database cluster and starts (or restarts) Postgres.
`brew services` is no longer supported: Homebrew/legacy-homebrew@c0b99c0 * Fixes thoughtbot#93 * Fixes thoughtbot#243 * Idempotently creates Postgres database cluster and starts (or restarts) Postgres.
`brew services` is no longer supported: Homebrew/legacy-homebrew@c0b99c0 * Fixes thoughtbot#93 * Fixes thoughtbot#243 * Idempotently creates Postgres database cluster and starts (or restarts) Postgres.
The laptop script currently installs, but does not run or set a plist file for Postgres. For the Mac script, we should be able to grab the lines from
brew info postgres
. Not sure what to use for the if statement.The text was updated successfully, but these errors were encountered: