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:
@@ -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
|
||||
|
Reference in New Issue
Block a user