commit 539e1419042291beb708f6a4f650dc2628b33214
Author: Jan Rękorajski <[email protected]>
Date: Tue Jan 4 21:22:14 2022 +0100
- use common macro to enable systemd service
logrotate.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/logrotate.spec b/logrotate.spec
index d572a9f..cd1adda 100644
--- a/logrotate.spec
+++ b/logrotate.spec
@@ -175,7 +175,7 @@ fi
%triggerpostun -- %{name} < 3.11.0-3
%{__sed} -i -e 's,olddir /var/log/archiv$,olddir /var/log/archive,'
%{_sysconfdir}/%{name}.conf %{_sysconfdir}/logrotate.d/* || :
-%systemd_service_enable cronjob-%{name}.timer
+%systemd_trigger cronjob-%{name}.timer
%post
if [ -f /var/lib/logrotate.status ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/logrotate.git/commitdiff/539e1419042291beb708f6a4f650dc2628b33214
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit