]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/syslog.socket
zsh_completion: Split out zsh _coredumpctl
[thirdparty/systemd.git] / units / syslog.socket
CommitLineData
52f319b2
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
52f319b2
LP
6# (at your option) any later version.
7
52f319b2
LP
8[Unit]
9Description=Syslog Socket
49dbfa7b
LP
10Documentation=man:systemd.special(7)
11Documentation=http://www.freedesktop.org/wiki/Software/systemd/syslog
52f319b2 12DefaultDependencies=no
5d4caf56 13Before=sockets.target shutdown.target
746e436d
LP
14
15# Don't allow logging until the very end
ead51eb4 16Conflicts=shutdown.target
52f319b2
LP
17
18[Socket]
259d2e76 19ListenDatagram=/run/systemd/journal/syslog
52f319b2 20SocketMode=0666
271b032a 21PassCredentials=yes
54ecda32 22PassSecurity=yes
bb99a35a 23ReceiveBuffer=8M
52f319b2 24
4c0bebc3
LP
25# The default syslog implementation should make syslog.service a
26# symlink to itself, so that this socket activates the right actual
27# syslog service.
28#
29# Examples:
30#
31# /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service
32# /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service
33#
34# Best way to achieve that is by adding this to your unit file
35# (i.e. to rsyslog.service or syslog-ng.service):
36#
37# [Install]
38# Alias=syslog.service
746e436d
LP
39#
40# See http://www.freedesktop.org/wiki/Software/systemd/syslog for details.