Accepting request 127310 from Base:System

- Add systemctl daemon-reload call when installing initscript
  (bnc#769973). (forwarded request 127169 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/127310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=181
This commit is contained in:
Stephan Kulow 2012-07-09 11:31:08 +00:00 committed by Git OBS Bridge
commit 057a0478ef
2 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,7 @@
if test "$FIRST_ARG" -ge 1 ; then \ if test "$FIRST_ARG" -ge 1 ; then \
test -f /etc/sysconfig/services && . /etc/sysconfig/services \ test -f /etc/sysconfig/services && . /etc/sysconfig/services \
if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then \ 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 \ for service in %{?*} ; do \
/etc/init.d/$service try-restart > /dev/null || : \ /etc/init.d/$service try-restart > /dev/null || : \
done \ done \

View File

@ -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 Wed Jun 13 13:24:28 CEST 2012 - ro@suse.de