diff --git a/salt.spec b/salt.spec index a188fd4..58f033b 100644 --- a/salt.spec +++ b/salt.spec @@ -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