From 3a9c514717ceb4d26ea01f2043d2b5c85fc2be7d646faa1981e595ec73371455 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 6 Jul 2012 17:08:06 +0000 Subject: [PATCH] Accepting request 127169 from home:fcrozat:branches:Base:System - Add systemctl daemon-reload call when installing initscript (bnc#769973). OBS-URL: https://build.opensuse.org/request/show/127169 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=207 --- rpm-suse_macros | 1 + rpm.changes | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/rpm-suse_macros b/rpm-suse_macros index e467fdf..362f168 100644 --- a/rpm-suse_macros +++ b/rpm-suse_macros @@ -30,6 +30,7 @@ if test "$FIRST_ARG" -ge 1 ; then \ test -f /etc/sysconfig/services && . /etc/sysconfig/services \ if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then \ + test -x /bin/systemctl && /bin/systemctl daemon-reload >/dev/null 2>&1 || : \ for service in %{?*} ; do \ /etc/init.d/$service try-restart > /dev/null || : \ done \ diff --git a/rpm.changes b/rpm.changes index 497298d..c89967c 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 4 18:04:54 CEST 2012 - fcrozat@suse.com + +- Add systemctl daemon-reload call when installing initscript + (bnc#769973). + ------------------------------------------------------------------- Wed Jun 13 13:24:28 CEST 2012 - ro@suse.de