diff options
Diffstat (limited to 'extra/pgbouncer/pgbouncer.service')
-rw-r--r-- | extra/pgbouncer/pgbouncer.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/pgbouncer/pgbouncer.service b/extra/pgbouncer/pgbouncer.service new file mode 100644 index 000000000..f5baad52b --- /dev/null +++ b/extra/pgbouncer/pgbouncer.service @@ -0,0 +1,11 @@ +[Unit] +Description=A lightweight connection pooler for PostgreSQL +After=network.target + +[Service] +User=pgbouncer +ExecStart=/usr/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target |