logrotate/logrotate-3.13.0-systemd_add_home_env.patch

13 lines
470 B
Diff
Raw Normal View History

Index: logrotate-3.14.0/examples/logrotate.service
===================================================================
--- logrotate-3.14.0.orig/examples/logrotate.service
+++ logrotate-3.14.0/examples/logrotate.service
@@ -11,6 +11,7 @@ ExecStart=/usr/sbin/logrotate /etc/logro
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
+Environment=HOME=/root
# hardening options
# details: https://www.freedesktop.org/software/systemd/man/systemd.exec.html