summarylogtreecommitdiffstats
path: root/logrotate.service
diff options
context:
space:
mode:
Diffstat (limited to 'logrotate.service')
-rw-r--r--logrotate.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/logrotate.service b/logrotate.service
new file mode 100644
index 000000000000..3a483c3a38e3
--- /dev/null
+++ b/logrotate.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Rotate log files
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/logrotate /etc/logrotate.conf
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7