|
Lines 51-65
Link Here
|
| 51 |
%_binfmtdir /usr/lib/binfmt.d |
51 |
%_binfmtdir /usr/lib/binfmt.d |
| 52 |
|
52 |
|
| 53 |
%_restart_check_systemctl \ |
53 |
%_restart_check_systemctl \ |
| 54 |
test -f /etc/sysconfig/services && . /etc/sysconfig/services \ |
|
|
| 55 |
test "$YAST_IS_RUNNING" = instsys && exit 0 \ |
54 |
test "$YAST_IS_RUNNING" = instsys && exit 0 \ |
| 56 |
test "$DISABLE_RESTART_ON_UPDATE" = yes && exit 0 \ |
55 |
test "$DISABLE_RESTART_ON_UPDATE" = yes && exit 0 \ |
|
|
56 |
test -f /etc/sysconfig/services && . /etc/sysconfig/services \ |
| 57 |
test "$DISABLE_RESTART_ON_UPDATE" = yes && exit 0 \ |
| 57 |
/usr/bin/systemctl try-restart %{nil} |
58 |
/usr/bin/systemctl try-restart %{nil} |
| 58 |
|
59 |
|
| 59 |
%_stop_check_systemctl \ |
60 |
%_stop_check_systemctl \ |
| 60 |
test -f /etc/sysconfig/services && . /etc/sysconfig/services \ |
|
|
| 61 |
test "$YAST_IS_RUNNING" = instsys && exit 0 \ |
61 |
test "$YAST_IS_RUNNING" = instsys && exit 0 \ |
| 62 |
test "$DISABLE_STOP_ON_REMOVAL" = yes && exit 0 \ |
62 |
test "$DISABLE_STOP_ON_REMOVAL" = yes && exit 0 \ |
|
|
63 |
test -f /etc/sysconfig/services && . /etc/sysconfig/services \ |
| 64 |
test "$DISABLE_STOP_ON_REMOVAL" = yes && exit 0 \ |
| 63 |
/usr/bin/systemctl stop %{nil} |
65 |
/usr/bin/systemctl stop %{nil} |
| 64 |
|
66 |
|
| 65 |
%service_add_pre() \ |
67 |
%service_add_pre() \ |