20
0

- use systemctl for try-restart call for apparmor in postinstall

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-zypper?expand=0&rev=41
This commit is contained in:
Ruediger Oertel
2017-07-25 16:10:10 +00:00
committed by Git OBS Bridge
parent 233c241157
commit 78ea0dfc15
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 25 18:02:13 CEST 2017 - ro@suse.de
- use systemctl for try-restart call for apparmor in postinstall
-------------------------------------------------------------------
Fri Jun 30 07:29:55 UTC 2017 - lars@linux-schulserver.de
+4
View File
@@ -112,7 +112,11 @@ fi
rm -rf %buildroot
%post
%if %{with systemd}
systemctl try-restart apparmor.service
%else
%{_sysconfdir}/init.d/boot.apparmor try-restart || echo "restarting boot.apparmor failed" >&2
%endif
%files
%defattr(-,root,root)