fix salt-proxy pre/post
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=74
This commit is contained in:
parent
37a347b515
commit
096090d289
@ -576,7 +576,7 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/salt.conf || true
|
||||
|
||||
%preun proxy
|
||||
%if %{with systemd}
|
||||
%service_del_preun salt-proxy.service
|
||||
%service_del_preun salt-proxy@.service
|
||||
%else
|
||||
%if 0%{?suse_version}
|
||||
%stop_on_removal salt-proxy
|
||||
@ -590,12 +590,12 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/salt.conf || true
|
||||
|
||||
%pre proxy
|
||||
%if %{with systemd}
|
||||
%service_add_pre salt-proxy.service
|
||||
%service_add_pre salt-proxy@.service
|
||||
%endif
|
||||
|
||||
%post proxy
|
||||
%if %{with systemd}
|
||||
%service_add_post salt-proxy.service
|
||||
%service_add_post salt-proxy@.service
|
||||
%fillup_only
|
||||
%else
|
||||
%if 0%{?suse_version}
|
||||
@ -605,7 +605,7 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/salt.conf || true
|
||||
|
||||
%postun proxy
|
||||
%if %{with systemd}
|
||||
%service_del_postun salt-proxy.service
|
||||
%service_del_postun salt-proxy@.service
|
||||
%else
|
||||
%if 0%{?suse_version}
|
||||
%insserv_cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user