aboutsummaryrefslogtreecommitdiffstats
path: root/usr/lib/systemd/system/netconsole.service
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-07-26 21:46:44 +0200
committerOlav Vitters <olav@vitters.nl>2020-07-26 21:46:44 +0200
commit244c9a00ae9a0dc62156aeb8781c2b22da0ad96e (patch)
treec0d76ed490862837a8a37bb61ed8e653e5cc2558 /usr/lib/systemd/system/netconsole.service
parentd0d18c6de12efeba25eb41d7cf207037027e4964 (diff)
parent6ca701a23c74b245f35750149a22f7d21805a8e0 (diff)
downloadinitscripts-244c9a00ae9a0dc62156aeb8781c2b22da0ad96e.tar
initscripts-244c9a00ae9a0dc62156aeb8781c2b22da0ad96e.tar.gz
initscripts-244c9a00ae9a0dc62156aeb8781c2b22da0ad96e.tar.bz2
initscripts-244c9a00ae9a0dc62156aeb8781c2b22da0ad96e.tar.xz
initscripts-244c9a00ae9a0dc62156aeb8781c2b22da0ad96e.zip
Merge tag '10.04' into distro/mga
10.04 release
Diffstat (limited to 'usr/lib/systemd/system/netconsole.service')
-rw-r--r--usr/lib/systemd/system/netconsole.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/netconsole.service b/usr/lib/systemd/system/netconsole.service
new file mode 100644
index 00000000..29248a4f
--- /dev/null
+++ b/usr/lib/systemd/system/netconsole.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Initializes network console logging of kernel messages
+ConditionPathExists=/etc/sysconfig/netconsole
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+ExecStart=/usr/libexec/netconsole start
+ExecStop=/usr/libexec/netconsole stop
+Type=oneshot
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target