blob: 0debad77975a8eac696a5b3a701c383fda5f87ea [file] [log] [blame]
# Copyright (c) 2012 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
respawn
# 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.
exec cat </proc/kmsg >/var/run/rsyslog/kmsg