2011-12-31 00:50:37 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08:00
|
|
|
# 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
|
2011-12-31 00:50:37 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Journal Socket
|
2012-05-21 21:12:18 +08:00
|
|
|
Documentation=man:journald.conf(5)
|
2011-12-31 00:50:37 +08:00
|
|
|
DefaultDependencies=no
|
|
|
|
Before=sockets.target syslog.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,
|
|
|
|
# hence let's exclude this from isolate requests.
|
|
|
|
IgnoreOnIsolate=yes
|
|
|
|
|
|
|
|
[Socket]
|
2012-01-06 03:24:16 +08:00
|
|
|
ListenStream=/run/systemd/journal/stdout
|
|
|
|
ListenDatagram=/run/systemd/journal/socket
|
2011-12-31 00:50:37 +08:00
|
|
|
ListenDatagram=/dev/log
|
|
|
|
SocketMode=0666
|
2011-12-31 08:07:49 +08:00
|
|
|
PassCredentials=yes
|
2012-03-13 07:00:27 +08:00
|
|
|
PassSecurity=yes
|
2012-01-28 01:57:37 +08:00
|
|
|
ReceiveBuffer=8M
|