blob: ca06f2d1f448ac787abc29787b88efb91949aea1 [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 "Syslog daemon"
author "chromium-os-dev@chromium.org"
start on starting boot-services
stop on stopping boot-services
respawn
pre-start script
setup() {
touch "$1"
chown syslog "$1"
}
setup /var/log/messages
setup /var/log/net.log
setup /var/log/secure
setup /var/log/boot.log
setup /var/log/laptopmode.log
end script
exec rsyslogd -c4 -n -f /etc/rsyslog.chromeos