blob: 7ec18fec25348619257f5890b14dc124e0b44550 [file] [log] [blame]
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
description "Pipes data from kmsg to the syslog daemon"
author "chromium-os-dev@chromium.org"
start on started syslog
stop on stopping syslog
# We use 'cat' because we want to read line buffered i/o from /proc/kmsg and
# pass it on to the syslog daemon through the kmsg pipe.
respawn
exec /bin/cat < /proc/kmsg > /var/run/rsyslog/kmsg