forked from pool/haproxy
- also fix the systemd case for the apparmor_reload change
OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=175
This commit is contained in:
parent
17536a11cb
commit
9aa8092ed2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 20 13:03:31 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- also fix the systemd case for the apparmor_reload change
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 20 12:50:35 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
|
@ -199,7 +199,7 @@ getent passwd %{pkg_name} >/dev/null || \
|
||||
%service_add_pre %{pkg_name}.service
|
||||
|
||||
%post
|
||||
%if %{with apparmor} && (0%{?suse_version} >= 1315)
|
||||
%if %{with apparmor} && %{with apparmor_reload}
|
||||
%apparmor_reload /etc/apparmor.d/usr.sbin.haproxy
|
||||
%endif
|
||||
%service_add_post %{pkg_name}.service
|
||||
|
Loading…
Reference in New Issue
Block a user