chiark / gitweb /
service: ignore dependencies on $syslog and $local_fs in LSB scripts
[elogind.git] / units / systemd-journald.socket
index b439bc1fdcdfa64cf24ecefac0b377f566f4ca9b..4f0619d2581d37bf7d53e5b23deb4ad3bf5fd919 100644 (file)
@@ -1,16 +1,15 @@
 #  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=Journal Socket
+Documentation=man:systemd-journald.service(8) man:journald.conf(5)
 DefaultDependencies=no
-Before=sockets.target syslog.target
+Before=sockets.target
 
 # Mount and swap units need this. If this socket unit is removed by an
 # isolate request the mount and and swap units would be removed too,
@@ -18,7 +17,10 @@ Before=sockets.target syslog.target
 IgnoreOnIsolate=yes
 
 [Socket]
-ListenStream=/run/systemd/stdout
-ListenDatagram=/run/systemd/native
+ListenStream=/run/systemd/journal/stdout
+ListenDatagram=/run/systemd/journal/socket
 ListenDatagram=/dev/log
 SocketMode=0666
+PassCredentials=yes
+PassSecurity=yes
+ReceiveBuffer=8M