2011-08-18 13:24:26 +00:00
committed by Git OBS Bridge
parent 6c0eae96c7
commit 83a273683c
3 changed files with 73 additions and 38 deletions

39
klogd.service Normal file
View File

@@ -0,0 +1,39 @@
# /lib/systemd/system/klogd.service
#
# This file is part of package klogd.
#
# Copyright (c) 2011 SuSE LINUX Products GmbH, Germany.
# Author: Werner Fink
# Please send feedback to http://www.suse.de/feedback
#
# Description:
#
# Used to start klogd, the System Kernel Logging Service
# if and only if the System Logger does not provide this
# its self. If the System Logger can do Kernel Logging
# Service this file should be masked by a symbolic link
# from /etc/systemd/system/klogd.service to /dev/null.
#
# If klogd.service is started then BindTo=syslog.service
# within unit section to make it disappear if syslogd dies.
#
[Unit]
Description=System Kernel Logging Service
Requisite=syslog.service
BindTo=syslog.service
After=syslog.service
RefuseManualStart=true
[Service]
Type=forking
StandardOutput=syslog
StandardError=syslog
PIDFile=/var/run/klogd.pid
Environment=KERNEL_LOGLEVEL=1
Environment=KLOGD_PARAMS=
EnvironmentFile=-/etc/sysconfig/syslog
ExecStart=/sbin/klogd -c $KERNEL_LOGLEVEL $KLOGD_PARAMS -x
[Install]
WantedBy=multi-user.target