From a05db0a3594f0eb1120495fdf240d8d2bf3d9cbb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 5 Aug 2024 11:53:36 +0200 Subject: Adding debian version 1.62.1-2. Signed-off-by: Daniel Baumann --- debian/changelog | 7 +++++++ debian/nghttp2-proxy.nghttpx.service | 17 +++++++++++++++++ debian/nghttpx.service | 17 ----------------- debian/rules | 4 +--- 4 files changed, 25 insertions(+), 20 deletions(-) create mode 100644 debian/nghttp2-proxy.nghttpx.service delete mode 100644 debian/nghttpx.service diff --git a/debian/changelog b/debian/changelog index ce7607c..2304380 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +nghttp2 (1.62.1-2) unstable; urgency=medium + + [ Helmut Grohne ] + * Install systemd unit using dh_installsystemd. (Closes: #1073057) + + -- Tomasz Buchert Wed, 10 Jul 2024 22:55:43 +0200 + nghttp2 (1.62.1-1) unstable; urgency=medium * New upstream version 1.62.1 diff --git a/debian/nghttp2-proxy.nghttpx.service b/debian/nghttp2-proxy.nghttpx.service new file mode 100644 index 0000000..76c9115 --- /dev/null +++ b/debian/nghttp2-proxy.nghttpx.service @@ -0,0 +1,17 @@ +[Unit] +Description=HTTP/2 proxy +Documentation=man:nghttpx +After=network.target + +[Service] +Type=notify +ExecStart=/usr/sbin/nghttpx --conf=/etc/nghttpx/nghttpx.conf +ExecReload=/bin/kill --signal HUP $MAINPID +KillSignal=SIGQUIT +PrivateTmp=yes +ProtectHome=yes +ProtectSystem=full +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/debian/nghttpx.service b/debian/nghttpx.service deleted file mode 100644 index 76c9115..0000000 --- a/debian/nghttpx.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=HTTP/2 proxy -Documentation=man:nghttpx -After=network.target - -[Service] -Type=notify -ExecStart=/usr/sbin/nghttpx --conf=/etc/nghttpx/nghttpx.conf -ExecReload=/bin/kill --signal HUP $MAINPID -KillSignal=SIGQUIT -PrivateTmp=yes -ProtectHome=yes -ProtectSystem=full -Restart=always - -[Install] -WantedBy=multi-user.target diff --git a/debian/rules b/debian/rules index 6a2c390..90c9a98 100755 --- a/debian/rules +++ b/debian/rules @@ -55,10 +55,8 @@ custom_install_init_scripts: # Currently we install our own systemd unit because # the original one is slightly broken -SYSTEMD="debian/nghttp2-proxy/lib/systemd/system" custom_install_systemd: - install -d $(SYSTEMD) - install -p -m644 debian/nghttpx.service $(SYSTEMD)/nghttpx.service + dh_installsystemd -pnghttp2-proxy --name nghttpx %: dh $@ -- cgit v1.2.3