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
|
%preun proxy
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%service_del_preun salt-proxy.service
|
%service_del_preun salt-proxy@.service
|
||||||
%else
|
%else
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%stop_on_removal salt-proxy
|
%stop_on_removal salt-proxy
|
||||||
@ -590,12 +590,12 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/salt.conf || true
|
|||||||
|
|
||||||
%pre proxy
|
%pre proxy
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%service_add_pre salt-proxy.service
|
%service_add_pre salt-proxy@.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post proxy
|
%post proxy
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%service_add_post salt-proxy.service
|
%service_add_post salt-proxy@.service
|
||||||
%fillup_only
|
%fillup_only
|
||||||
%else
|
%else
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -605,7 +605,7 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/salt.conf || true
|
|||||||
|
|
||||||
%postun proxy
|
%postun proxy
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%service_del_postun salt-proxy.service
|
%service_del_postun salt-proxy@.service
|
||||||
%else
|
%else
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user