Your message dated Wed, 15 Oct 2014 21:31:06 +0000
with message-id <[email protected]>
and subject line Bug#756453: fixed in pgpool2 3.3.4-1
has caused the Debian Bug report #756453,
regarding Please add the attached systemd service file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
756453: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756453
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pgpool2
Version: 3.3.3-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: systemd-units

Dear maintainer,

please add the attached systemd service file.

For more details on systemd packaging, see
http://wiki.debian.org/Systemd/Packaging
In case of any questions, feel free to drop by in #debian-systemd or
send an email to [email protected]


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: armel
i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pgpool2 depends on:
ii  libc6              2.18-4
ii  libmemcached11     1.0.18-3
ii  libpam0g           1.1.8-3
ii  libpgpool0         3.3.3-2
ii  libpq5             9.3.4-1
ii  libssl1.0.0        1.0.1g-3
ii  lsb-base           4.1+Debian12
ii  postgresql-common  154
ii  ucf                3.0027+nmu1

pgpool2 recommends no packages.

pgpool2 suggests no packages.

-- Configuration Files:
/etc/pgpool2/pcp.conf changed [not included]

-- no debconf information
>From 04e39a0b89193ba6fa86680bff70670fb38e730a Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <[email protected]>
Date: Wed, 30 Jul 2014 00:15:27 +0200
Subject: [PATCH] add pgpool2 systemd service file

---
 debian/control         |  2 +-
 debian/pgpool2.service | 14 ++++++++++++++
 debian/pgpool2.tmpfile |  2 ++
 debian/rules           |  2 +-
 4 files changed, 18 insertions(+), 2 deletions(-)
 create mode 100644 debian/pgpool2.service
 create mode 100644 debian/pgpool2.tmpfile

diff --git a/debian/control b/debian/control
index 5e51fee..fb26f52 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian PostgreSQL Maintainers <[email protected]>
 Uploaders: Christoph Berg <[email protected]>
 Build-Depends: debhelper (>= 9), libpq-dev, postgresql-server-dev-all (>= 148~),
- libpam0g-dev, libssl-dev, libmemcached-dev, dh-autoreconf,
+ libpam0g-dev, libssl-dev, libmemcached-dev, dh-autoreconf, dh-systemd (>= 1.19),
 # test/parser:
  bison, flex, ruby
 Standards-Version: 3.9.5
diff --git a/debian/pgpool2.service b/debian/pgpool2.service
new file mode 100644
index 0000000..8334e7f
--- /dev/null
+++ b/debian/pgpool2.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=pgpool-II
+Documentation=man:pgpool(8)
+Wants=postgresql.service
+
+[Service]
+User=postgres
+ExecStart=/usr/sbin/pgpool -n
+ExecReload=/bin/kill -HUP $MAINPID
+StandardOutput=syslog
+SyslogFacility=local0
+
+[Install]
+WantedBy=multi-user.target
diff --git a/debian/pgpool2.tmpfile b/debian/pgpool2.tmpfile
new file mode 100644
index 0000000..b2d823f
--- /dev/null
+++ b/debian/pgpool2.tmpfile
@@ -0,0 +1,2 @@
+# See tmpfiles.d(5) for details
+d /var/run/postgresql 2775 postgres postgres -
diff --git a/debian/rules b/debian/rules
index f4f69b3..1a579f9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,4 +65,4 @@ override_dh_install:
 	dh_install --list-missing
 
 %:
-	dh $@ --with autoreconf
+	dh $@ --with autoreconf,systemd
-- 
1.9.1


--- End Message ---
--- Begin Message ---
Source: pgpool2
Source-Version: 3.3.4-1

We believe that the bug you reported is fixed in the latest version of
pgpool2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <[email protected]> (supplier of updated pgpool2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 15 Oct 2014 21:36:17 +0200
Source: pgpool2
Binary: pgpool2 libpgpool0 libpgpool-dev postgresql-9.4-pgpool2
Architecture: source amd64
Version: 3.3.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers 
<[email protected]>
Changed-By: Christoph Berg <[email protected]>
Description:
 libpgpool-dev - pgpool control protocol library - headers
 libpgpool0 - pgpool control protocol library
 pgpool2    - connection pool server and replication proxy for PostgreSQL
 postgresql-9.4-pgpool2 - connection pool server and replication proxy for 
PostgreSQL - mod
Closes: 756453
Changes:
 pgpool2 (3.3.4-1) unstable; urgency=medium
 .
   * New upstream release.
   * Remove test patches that no longer apply.
   * Skip installcheck test on 8.4/9.0.
   * Add systemd service file, initial patch by Michael Stapelberg, thanks!
     Closes: #756453.
Checksums-Sha1:
 07fcd5bc217d7f918817f380cc93d0228d0bb62d 2297 pgpool2_3.3.4-1.dsc
 66fd78c91d247c544f6d7d2f0e225fa35b59cd06 1752572 pgpool2_3.3.4.orig.tar.gz
 e2337070a921b93bd3060b4e581e5636dfa06809 11280 pgpool2_3.3.4-1.debian.tar.xz
 a61f109f8ef5e6e5eb37c7c9c8b5a4e1ca5981fb 811396 pgpool2_3.3.4-1_amd64.deb
 57b7da2bc7b87ec78108db3aaddd649b98988ca8 19170 libpgpool0_3.3.4-1_amd64.deb
 dde8757d57ac10be5a65629ec8140bd253330496 21898 libpgpool-dev_3.3.4-1_amd64.deb
 ec0703611faf700fbc1d0d146be88bd0d04b6220 15948 
postgresql-9.4-pgpool2_3.3.4-1_amd64.deb
Checksums-Sha256:
 aa63c2c39c519012c96ad9514c8f47017b06341407b1deb223ba16c5d023c91e 2297 
pgpool2_3.3.4-1.dsc
 4ea1ddfd80d06763ffd8bb7f9bea32d71fbfcdc0af998150ce3a116edd3732c5 1752572 
pgpool2_3.3.4.orig.tar.gz
 809d575f9b62c4f4824587cfd6125a9a847087e4379ec7b21aea950a6c530a7c 11280 
pgpool2_3.3.4-1.debian.tar.xz
 513d28a57888ba5beb038961040e8ad97ec19ce6eba18203263d7a7f17d86991 811396 
pgpool2_3.3.4-1_amd64.deb
 e595002122c5f20ca9c7e3517f297e2c7ab3ba9037da80118e13cd07ac2e466c 19170 
libpgpool0_3.3.4-1_amd64.deb
 fd229feba6644fef2c22a93d3817d5f51b77b58ae48b4241b339c936d7f0861b 21898 
libpgpool-dev_3.3.4-1_amd64.deb
 7f33dbd426f3e77bf61e84feb7554e89a723e571d52ad664e61afd44a7bfde4c 15948 
postgresql-9.4-pgpool2_3.3.4-1_amd64.deb
Files:
 f168e23eba530130c2a2fd0b1e4c4e91 2297 database optional pgpool2_3.3.4-1.dsc
 21e942546a5b426f455898e4803a197f 1752572 database optional 
pgpool2_3.3.4.orig.tar.gz
 22abf2af23c3b8ff15e9b7fe2c306a15 11280 database optional 
pgpool2_3.3.4-1.debian.tar.xz
 0dd0e6e23405500f69525cfc3b5966f2 811396 database optional 
pgpool2_3.3.4-1_amd64.deb
 3daa5cb7bcf14a37678d833124cc626c 19170 libs optional 
libpgpool0_3.3.4-1_amd64.deb
 cc55d2aa838baa2dea03b55c8cb2d6b5 21898 libdevel optional 
libpgpool-dev_3.3.4-1_amd64.deb
 95ef32083b641b9bca790b635ddc16f1 15948 database optional 
postgresql-9.4-pgpool2_3.3.4-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUPuJvAAoJEExaa6sS0qeur3wP/2taK+NXuxg4MIBJs0Yym7Ia
HRMMXjW3mjtjIgq+gwNCOQh33w6cDxNDAA0HLnxZcql4U+tY8SBfOMmK4ZQ+iJgc
slkWoqLamkT1elnYRUXKJOhXZCh3iL8vmo1sPsEJ+PJJp654hYzVA65d/YmgZYkY
J9JVvi88I1mf2LyIrXWzePC4ZicTSWXsEYUVbmvmGyV20gILC32NPidNbLGuqo7t
I4DcK+UywsMmnfVZs4VjVF3sd2l5d13YsD+czLWwnQNSPZEi3U1KHZ50KBO/p824
S/fQ5kKJwn8f9JTDratLop8FYK8IkGEnRfPdiDa3GYMjR4OJuXm4j4b/zZC0s2P6
LQ1ZGT6gycG6PHNwKYVYzdT5KpqeRmMFk1n9c8LXGgGdldyG0ADjUGsYsmXsIlrr
QBER+4QlKy0fO6wesCdYEU/pZQrTPpttFROjalY+9IUsZGN5C8dwztiv1gpiOCmY
cmImJsOOnw01rS13I81wnZEhQoxqrXMDg8cLfsmHCQQ3d5E7jomccG5WXF1BQRed
65V/5lGkMoK65P8ypcCdGMdXAAyhEFj2efvfDcteDiO62sLk1bSm7sRb6WQAPDW6
MST6CZMKOIEfcjn7H1654LTwBUeEMLPJwJIAznZYBWZPVNZbRwVqIk+3pcnSUpbZ
GvWG8zruzEKXg7sMboK8
=km+T
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to