chiark / gitweb /
service: make start jobs wait, not fail, when an automatic restart is queued
[elogind.git] / units / syslog.socket
index 1c54857762385592dfea0a9089e200ff1caad7c3..c784357627e04e0388f7172ad8f901deb651a4c4 100644 (file)
@@ -1,18 +1,19 @@
 #  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
+Before=sockets.target syslog.target shutdown.target
+
+# Don't allow logging until the very end
 Conflicts=shutdown.target
-Before=shutdown.target
 
 # Pull in syslog.target to tell people that /dev/log is now accessible
 Wants=syslog.target
@@ -21,6 +22,7 @@ Wants=syslog.target
 ListenDatagram=/run/systemd/journal/syslog
 SocketMode=0666
 PassCredentials=yes
+PassSecurity=yes
 ReceiveBuffer=8M
 
 # The default syslog implementation should make syslog.service a
@@ -37,3 +39,5 @@ ReceiveBuffer=8M
 #
 # [Install]
 # Alias=syslog.service
+#
+# See http://www.freedesktop.org/wiki/Software/systemd/syslog for details.