X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsyslog.socket;h=e6e9cf8525a66817b7c94f42627dead97a873a96;hp=657e7913e34d89cb906732ab38b9106ef9b0aeab;hb=d2dd0265b5140ce849cfc3821ad595df2d4c9eb7;hpb=ead51eb4ed55981f290e40a871ffbca6480c4cd3 diff --git a/units/syslog.socket b/units/syslog.socket index 657e7913e..e6e9cf852 100644 --- a/units/syslog.socket +++ b/units/syslog.socket @@ -1,26 +1,26 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# 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 # (at your option) any later version. -# See systemd.special(7) for details - [Unit] Description=Syslog Socket +Documentation=man:systemd.special(7) +Documentation=http://www.freedesktop.org/wiki/Software/systemd/syslog DefaultDependencies=no -Before=sockets.target syslog.target -Conflicts=shutdown.target -Before=shutdown.target +Before=sockets.target shutdown.target -# Pull in syslog.target to tell people that /dev/log is now accessible -Wants=syslog.target +# Don't allow logging until the very end +Conflicts=shutdown.target [Socket] ListenDatagram=/run/systemd/journal/syslog SocketMode=0666 PassCredentials=yes +PassSecurity=yes +ReceiveBuffer=8M # The default syslog implementation should make syslog.service a # symlink to itself, so that this socket activates the right actual @@ -36,3 +36,5 @@ PassCredentials=yes # # [Install] # Alias=syslog.service +# +# See http://www.freedesktop.org/wiki/Software/systemd/syslog for details.