Skip to content

Instantly share code, notes, and snippets.

@fzerorubigd
Created July 3, 2015 13:52
Show Gist options
  • Select an option

  • Save fzerorubigd/b78c2fb883b7a92c83c2 to your computer and use it in GitHub Desktop.

Select an option

Save fzerorubigd/b78c2fb883b7a92c83c2 to your computer and use it in GitHub Desktop.
[Unit]
Description=A lightweight connection pooler for PostgreSQL
After=network.target
[Service]
User=postgres
ExecStart=/usr/sbin/pgbouncer /etc/pgbouncer/pgbouncer.ini
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment