]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd/module-setup.sh: turn off RateLimit for the journal
authorHarald Hoyer <harald@redhat.com>
Mon, 26 Nov 2012 12:49:19 +0000 (13:49 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 26 Nov 2012 12:49:19 +0000 (13:49 +0100)
modules.d/98systemd/module-setup.sh

index 6e6bf0792d631d052e03d5d12ba44aeab4d4e247..666485e7e6cd6806cc9599523990bf75f44606f0 100755 (executable)
@@ -145,5 +145,14 @@ install() {
 
     inst_script "$moddir/service-to-run.sh" "${systemdutildir}/system-generators/service-to-run"
     inst_rules 99-systemd.rules
+
+    # turn off RateLimit for journal
+    {
+        echo "[Journal]"
+        echo "RateLimitInterval=0"
+        echo "RateLimitBurst=0"
+    } >> "$initdir/etc/systemd/journald.conf"
+
+
 }