syslogd/syslogd.service

46 lines
1.3 KiB
Desktop File

#
# This file is part of package syslogd.
#
# Copyright (c) 2011 SuSE LINUX Products GmbH, Germany.
# Author: Werner Fink, Marius Tomaschewski
# Please send feedback to http://www.suse.de/feedback
#
# Description:
#
# Used to start syslogd as the System Logging Service daemon.
# The SYSLOG_DAEMON variable in /etc/sysconfig/syslog is not
# used any longer, instead use
# systemctl enable syslogd.service
# which also installs an alias to syslog.service.
#
[Unit]
Description=System Logging Service
Conflicts=syslog-ng.service rsyslog.service
Requires=var-run.mount
Requires=syslog.target
Requires=network.target
Requires=klogd.service
Before=syslog.target
Before=klogd.service
After=var-run.mount
After=network.target
[Service]
Type=forking
PIDFile=/var/run/syslogd.pid
Sockets=syslog.socket
StandardOutput=null
Environment=ADDITIONAL_SOCKET=
ExecStartPre=/usr/sbin/syslogd-service-prepare
EnvironmentFile=-/var/run/syslogd/additional-log-sockets.env
ExecStart=/usr/sbin/syslogd ${ADDITIONAL_SOCKET}
ExecReload=/bin/systemctl kill --signal=TSTP klogd.service
ExecReload=/sbin/killproc -p /var/run/syslogd.pid -HUP /usr/sbin/syslogd
ExecReload=/bin/systemctl kill --signal=CONT klogd.service
ExecReload=/bin/systemctl kill --signal=USR2 klogd.service
[Install]
WantedBy=multi-user.target
Alias=syslog.service