X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-journald.socket;h=4f0619d2581d37bf7d53e5b23deb4ad3bf5fd919;hp=b439bc1fdcdfa64cf24ecefac0b377f566f4ca9b;hb=5d4caf565471ff3401bd9b53aa814c8545a18a93;hpb=dc1ecd78e9f046880d10ddb45cf9b06df1084b10 diff --git a/units/systemd-journald.socket b/units/systemd-journald.socket index b439bc1fd..4f0619d25 100644 --- a/units/systemd-journald.socket +++ b/units/systemd-journald.socket @@ -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