tizen 2.4 release
[external/systemd.git] / units / systemd-journald-dev-log.socket
1 #  This file is part of systemd.
2 #
3 #  systemd is free software; you can redistribute it and/or modify it
4 #  under the terms of the GNU Lesser General Public License as published by
5 #  the Free Software Foundation; either version 2.1 of the License, or
6 #  (at your option) any later version.
7
8 [Unit]
9 Description=Journal Socket (/dev/log)
10 Documentation=man:systemd-journald.service(8) man:journald.conf(5)
11 DefaultDependencies=no
12 Before=sockets.target
13
14 # Mount and swap units need this. If this socket unit is removed by an
15 # isolate request the mount and swap units would be removed too,
16 # hence let's exclude this from isolate requests.
17 IgnoreOnIsolate=yes
18
19 [Socket]
20 Service=systemd-journald.service
21 ListenDatagram=/run/systemd/journal/dev-log
22 Symlinks=/dev/log
23 SocketMode=0666
24 PassCredentials=yes
25 PassSecurity=yes
26 SmackLabelIPIn=*
27 SmackLabelIPOut=@
28
29 # Increase both the send and receive buffer, so that things don't
30 # block early. Note that journald internally uses the this socket both
31 # for receiving syslog messages, and for forwarding them to any other
32 # syslog, hence we bump both values.
33 ReceiveBuffer=8M
34 SendBuffer=8M