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