-
Notifications
You must be signed in to change notification settings - Fork 179
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
How to use Postgres with serviceman? #298
Labels
documentation
Improvements or additions to documentation
Comments
Yes. # Mac (Login / Launch Agent)
sudo env PATH="$PATH" \
serviceman add --name postgres --path "${PATH}" --user -- \
postgres -D "$HOME/.local/share/postgres/var" -p 5432 # Linux (or System Boot / Launch Daemon on Mac)
sudo env PATH="$PATH" \
serviceman add --name postgres --path "${PATH}" \
--system --username "$(id -u -n)" --force -- \
postgres -D "$HOME/.local/share/postgres/var" -p 5432 \
--unix-socket-directories="$HOME/.local/share/postgres/var/run/" The |
This was referenced Oct 17, 2023
coolaj86
changed the title
question about Postgres installer
How to use Postgres with serviceman?
Oct 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can I make postgres a system service in macos with serviceman?
The text was updated successfully, but these errors were encountered: