aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/system')
-rw-r--r--systemd/system/rhel-dmesg.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd/system/rhel-dmesg.service b/systemd/system/rhel-dmesg.service
new file mode 100644
index 00000000..ad5ae1cb
--- /dev/null
+++ b/systemd/system/rhel-dmesg.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Dump dmesg to /var/log/dmesg
+After=basic.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/lib/systemd/rhel-dmesg
+RemainAfterExit=yes
+
+[Install]
+WantedBy=basic.target