mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
dc5437c78b
If we have exit on idle, then operations such as "journalctl --namespace=foo --rotate" should work even if the journal daemon is currently not running. (Note that we don't do activation by varlink for the main instance of journald, I am not sure the deadlocks it might introduce are worth it)
19 lines
597 B
SYSTEMD
19 lines
597 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1+
|
|
#
|
|
# 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=0600
|