mirror of
https://github.com/systemd/systemd.git
synced 2025-09-10 22:52:49 +02:00
The Synchronize() function is just too useful for clients, so that we can make "systemd-run -v --user" actually useful. Hence let's make the socket accessible without privs. Deny most method calls however, except for the Synchronize() call.
19 lines
605 B
SYSTEMD
19 lines
605 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 Varlink Socket for Namespace %i
|
|
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
|
StopWhenUnneeded=yes
|
|
|
|
[Socket]
|
|
Service=systemd-journald@%i.service
|
|
ListenStream=/run/systemd/journal.%i/io.systemd.journal
|
|
SocketMode=0666
|