1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 # This file is part of systemd.
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
11 Description=Journal Remote Sink Service
12 Documentation=man:systemd-journal-remote(8) man:journal-remote.conf(5)
13 Requires=systemd-journal-remote.socket
16 ExecStart={{LIBEXECDIR}}/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/
18 LogsDirectory=journal/remote
19 MemoryDenyWriteExecute=yes
26 ProtectControlGroups=yes
30 ProtectKernelModules=yes
31 ProtectKernelTunables=yes
33 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
34 RestrictNamespaces=yes
37 SystemCallArchitectures=native
38 User=systemd-journal-remote
41 # If there are many split up journal files we need a lot of fds to access them
43 LimitNOFILE={{HIGH_RLIMIT_NOFILE}}
46 Also=systemd-journal-remote.socket