2010-10-20 19:48:01 +04:00
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
2012-04-12 02:20:58 +04:00
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
2010-10-20 19:48:01 +04:00
# (at your option) any later version.
[Unit]
Description = Syslog Socket
2012-05-21 17:12:18 +04:00
Documentation = man:systemd.special(7)
Documentation = http://www.freedesktop.org/wiki/Software/systemd/syslog
2010-10-20 19:48:01 +04:00
DefaultDependencies = no
2013-01-17 00:09:03 +04:00
Before = sockets.target shutdown.target
2012-07-03 15:31:09 +04:00
# Don't allow logging until the very end
2012-01-12 07:34:50 +04:00
Conflicts = shutdown.target
2010-10-20 19:48:01 +04:00
[Socket]
2012-01-05 23:24:16 +04:00
ListenDatagram = /run/systemd/journal/syslog
2010-10-20 19:48:01 +04:00
SocketMode = 0666
2011-12-31 04:07:49 +04:00
PassCredentials = yes
2012-03-13 03:00:27 +04:00
PassSecurity = yes
2012-01-27 21:57:37 +04:00
ReceiveBuffer = 8M
2010-10-20 19:48:01 +04:00
2012-01-06 06:11:17 +04:00
# The default syslog implementation should make syslog.service a
# symlink to itself, so that this socket activates the right actual
# syslog service.
#
# Examples:
#
# /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service
# /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service
#
# Best way to achieve that is by adding this to your unit file
# (i.e. to rsyslog.service or syslog-ng.service):
#
# [Install]
# Alias=syslog.service
2012-07-03 15:31:09 +04:00
#
# See http://www.freedesktop.org/wiki/Software/systemd/syslog for details.