commit 27d998e5fea455176e6e51de8f81ede163e2ce2e
Author: Mariusz Mazur <[email protected]>
Date: Wed Mar 25 08:53:54 2015 +0000
Drop running 'service' commands
choparp.spec | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/choparp.spec b/choparp.spec
index 4ee30b7..f40ea0b 100644
--- a/choparp.spec
+++ b/choparp.spec
@@ -53,13 +53,9 @@ cp -p %{SOURCE7}
$RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
rm -rf $RPM_BUILD_ROOT
%post
-%service %{name} restart
%systemd_post %{name}.target
%preun
-if [ "$1" = "0" ]; then
- %service %{name} stop
-fi
%systemd_preun %{name}.target
%postun
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/choparp.git/commitdiff/b781e1608920fb203ed4bed490a1d40f2b0f234e
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit