[packages/podman] handle systemd units

atler atler at pld-linux.org
Fri Nov 5 16:42:37 CET 2021


commit b74ba7eab21bb29ea23a59143c8ce8196f51744f
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Nov 5 13:58:50 2021 +0100

    handle systemd units

 podman.spec | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/podman.spec b/podman.spec
index 35329d7..3f090bb 100644
--- a/podman.spec
+++ b/podman.spec
@@ -116,6 +116,15 @@ $RPM_BUILD_ROOT%{_bindir}/podman completion -f $RPM_BUILD_ROOT%{zsh_compdir}/_po
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%systemd_post podman.service podman.socket
+
+%preun
+%systemd_preun podman.service podman.socket
+
+%postun
+%systemd_reload
+
 %files
 %defattr(644,root,root,755)
 %doc README.md
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/podman.git/commitdiff/b74ba7eab21bb29ea23a59143c8ce8196f51744f



More information about the pld-cvs-commit mailing list