logrotate/logrotate-3.13.0-systemd_add_home_env.patch
Tomáš Chvátal 17e2917049 Accepting request 614890 from home:kstreitova:branches:Base:System
- Add "Environment=HOME=/root" to logrotate.service file in order 
  to allow mariadb to rotate its logs when the database has a root
  password defined [bsc#1093617]
- Added patch:
  * logrotate-3.13.0-systemd_add_home_env.patch

OBS-URL: https://build.opensuse.org/request/show/614890
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=69
2018-06-07 10:19:19 +00:00

10 lines
365 B
Diff

Index: logrotate-3.11.0/examples/logrotate.service
===================================================================
--- logrotate-3.11.0.orig/examples/logrotate.service
+++ logrotate-3.11.0/examples/logrotate.service
@@ -9,3 +9,4 @@ ExecStart=/usr/sbin/logrotate /etc/logro
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
+Environment=HOME=/root