mirror of
https://github.com/systemd/systemd.git
synced 2026-07-23 07:50:41 +00:00
The socket failed on boot due to a ordering problem caused by systemd-sysusers running later and thus the socket group was still missing. The socket unit can only start when systemd-sysusers created the group. Order the socket after systemd-sysusers.service to have the group available.
25 lines
719 B
SYSTEMD
25 lines
719 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# 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
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Journal Log Access Socket
|
|
Documentation=man:journalctl(1)
|
|
DefaultDependencies=no
|
|
Before=sockets.target
|
|
After=systemd-sysusers.service
|
|
|
|
[Socket]
|
|
ListenStream=/run/systemd/io.systemd.JournalAccess
|
|
Symlinks=/run/varlink/registry/io.systemd.JournalAccess
|
|
FileDescriptorName=varlink
|
|
SocketGroup=systemd-journal
|
|
SocketMode=0660
|
|
Accept=yes
|
|
MaxConnectionsPerSource=16
|