2011-12-30 17:50:37 +01:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 00:20:58 +02: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 17:50:37 +01:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Journal Socket
|
2012-06-27 01:06:35 +02:00
|
|
|
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
2011-12-30 17:50:37 +01:00
|
|
|
DefaultDependencies=no
|
2013-01-16 21:09:03 +01:00
|
|
|
Before=sockets.target
|
2011-12-30 17:50:37 +01:00
|
|
|
|
|
|
|
# Mount and swap units need this. If this socket unit is removed by an
|
2013-08-15 23:38:09 +02:00
|
|
|
# isolate request the mount and swap units would be removed too,
|
2011-12-30 17:50:37 +01:00
|
|
|
# hence let's exclude this from isolate requests.
|
|
|
|
IgnoreOnIsolate=yes
|
|
|
|
|
|
|
|
[Socket]
|
2012-01-05 20:24:16 +01:00
|
|
|
ListenStream=/run/systemd/journal/stdout
|
|
|
|
ListenDatagram=/run/systemd/journal/socket
|
2011-12-30 17:50:37 +01:00
|
|
|
ListenDatagram=/dev/log
|
|
|
|
SocketMode=0666
|
2011-12-31 01:07:49 +01:00
|
|
|
PassCredentials=yes
|
2012-03-13 00:00:27 +01:00
|
|
|
PassSecurity=yes
|
2012-01-27 18:57:37 +01:00
|
|
|
ReceiveBuffer=8M
|