This commit is contained in:
parent
b2627a8a5a
commit
b037bfdecf
4
ufw.spec
4
ufw.spec
@ -74,7 +74,7 @@ install -m 644 $RPM_SOURCE_DIR/ufw.service $RPM_BUILD_ROOT/lib/systemd/system/uf
|
||||
%endif
|
||||
|
||||
%post
|
||||
insserv /etc/init.d/ufw
|
||||
#insserv /etc/init.d/ufw
|
||||
%if 0%{?suse_version} > 1140
|
||||
%service_add_post ufw.service
|
||||
%endif
|
||||
@ -86,7 +86,7 @@ insserv /etc/init.d/ufw
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%insserv_cleanup /etc/init.d/ufw
|
||||
#%insserv_cleanup /etc/init.d/ufw
|
||||
%restart_on_update
|
||||
%if 0%{?suse_version} > 1140
|
||||
%service_del_postun ufw.service
|
||||
|
Loading…
Reference in New Issue
Block a user