[packages/lastlog2] - preun for systemd service

baggins baggins at pld-linux.org
Sat Dec 23 13:35:46 CET 2023


commit 934deae11ee92c2f926b4804b64ba923684afb4e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Dec 23 12:41:01 2023 +0100

    - preun for systemd service

 lastlog2.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/lastlog2.spec b/lastlog2.spec
index d73ce62..adeb3cb 100644
--- a/lastlog2.spec
+++ b/lastlog2.spec
@@ -96,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/ldconfig
 %systemd_post lastlog2-import.service
 
+%preun
+%systemd_preun lastlog2-import.service
+
 %postun	-p /sbin/ldconfig
 
 %files
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lastlog2.git/commitdiff/934deae11ee92c2f926b4804b64ba923684afb4e



More information about the pld-cvs-commit mailing list