]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journald-dev-log.socket
Merge pull request #1679 from evverx/refuse-manual-start-by-reload-or-restart
[thirdparty/systemd.git] / units / systemd-journald-dev-log.socket
CommitLineData
03ee5c38
LP
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]
9Description=Journal Socket (/dev/log)
10Documentation=man:systemd-journald.service(8) man:journald.conf(5)
11DefaultDependencies=no
12Before=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.
17IgnoreOnIsolate=yes
18
19[Socket]
5e8b767d 20Service=systemd-journald.service
03ee5c38
LP
21ListenDatagram=/run/systemd/journal/dev-log
22Symlinks=/dev/log
23SocketMode=0666
24PassCredentials=yes
25PassSecurity=yes
5e8b767d
LP
26
27# Increase both the send and receive buffer, so that things don't
28# block early. Note that journald internally uses the this socket both
29# for receiving syslog messages, and for forwarding them to any other
30# syslog, hence we bump both values.
03ee5c38 31ReceiveBuffer=8M
5e8b767d 32SendBuffer=8M