2011-12-30 23:50:37 +07:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 05:20:58 +07: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-30 23:50:37 +07:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Journal Socket
|
2012-06-27 06:06:35 +07:00
|
|
|
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
2011-12-30 23:50:37 +07: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 02:24:16 +07:00
|
|
|
ListenStream=/run/systemd/journal/stdout
|
|
|
|
ListenDatagram=/run/systemd/journal/socket
|
2011-12-30 23:50:37 +07:00
|
|
|
ListenDatagram=/dev/log
|
|
|
|
SocketMode=0666
|
2011-12-31 07:07:49 +07:00
|
|
|
PassCredentials=yes
|
2012-03-13 06:00:27 +07:00
|
|
|
PassSecurity=yes
|
2012-01-28 00:57:37 +07:00
|
|
|
ReceiveBuffer=8M
|