[packages/wpa_supplicant] - unify systemd scriptlets

baggins baggins at pld-linux.org
Tue Jan 4 20:56:28 CET 2022


commit be59c8f2bc3fdb5aad92567f408f6dd2974fd44d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jan 4 20:55:50 2022 +0100

    - unify systemd scriptlets

 wpa_supplicant.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec
index 9e3fc9d..fd66bf7 100644
--- a/wpa_supplicant.spec
+++ b/wpa_supplicant.spec
@@ -236,8 +236,7 @@ cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%systemd_reload
-%systemd_service_restart wpa_supplicant.service
+%systemd_post wpa_supplicant.service
 
 %preun
 %systemd_preun wpa_supplicant.service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wpa_supplicant.git/commitdiff/be59c8f2bc3fdb5aad92567f408f6dd2974fd44d



More information about the pld-cvs-commit mailing list