chiark / gitweb /
systemd-python: updated _reader header to standard license
[elogind.git] / units / syslog.socket
index 657e7913e34d89cb906732ab38b9106ef9b0aeab..e6e9cf8525a66817b7c94f42627dead97a873a96 100644 (file)
@@ -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.