aboutsummaryrefslogtreecommitdiffstats
path: root/usr/lib/systemd
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-06-12 17:24:57 +0200
committerDee'Kej <deekej@linuxmail.org>2018-06-14 16:11:54 +0200
commitf5e4588e0e73046ed0995c148e8a4619b9ba69fb (patch)
treeed8f8edffc2a723e7775b2c2d01f73e7bc15eaec /usr/lib/systemd
parentead5bff2561eae45007c8d9e949379c3454c0183 (diff)
downloadinitscripts-f5e4588e0e73046ed0995c148e8a4619b9ba69fb.tar
initscripts-f5e4588e0e73046ed0995c148e8a4619b9ba69fb.tar.gz
initscripts-f5e4588e0e73046ed0995c148e8a4619b9ba69fb.tar.bz2
initscripts-f5e4588e0e73046ed0995c148e8a4619b9ba69fb.tar.xz
initscripts-f5e4588e0e73046ed0995c148e8a4619b9ba69fb.zip
specfile: netconsole service moved to /usr/libexec
Diffstat (limited to 'usr/lib/systemd')
-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