From 4a017a9336bb655a20f6ae27bc9d844842ba50fc3b1bbdbeab4827011b509e98 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 13 Oct 2017 12:21:32 +0000 Subject: [PATCH] Accepting request 533870 from home:olh:branches:network:utilities - Disable restart on update to keep existing client connections alive (bsc#1063135) OBS-URL: https://build.opensuse.org/request/show/533870 OBS-URL: https://build.opensuse.org/package/show/network:utilities/nbd?expand=0&rev=50 --- nbd.changes | 6 ++++++ nbd.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/nbd.changes b/nbd.changes index 5c6057e..a8ec7d6 100644 --- a/nbd.changes +++ b/nbd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 13 09:58:54 UTC 2017 - olaf@aepfle.de + +- Disable restart on update to keep existing client connections alive + (bsc#1063135) + ------------------------------------------------------------------- Thu Sep 7 13:21:03 UTC 2017 - olaf@aepfle.de diff --git a/nbd.spec b/nbd.spec index cc2df02..c2c4eb2 100644 --- a/nbd.spec +++ b/nbd.spec @@ -83,6 +83,7 @@ install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/nbd-server/config.ex install -D -p -m 0644 %{SOURCE4} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-server %post +export DISABLE_RESTART_ON_UPDATE=yes %service_add_post %{name}-server.service %fillup_only -n nbd-server if test -e %{_sysconfdir}/nbd-server.conf; then