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 Gateway Service
12 Documentation=man:systemd-journal-gatewayd(8)
13 Requires=systemd-journal-gatewayd.socket
17 ExecStart={{ROOTLIBEXECDIR}}/systemd-journal-gatewayd
19 MemoryDenyWriteExecute=yes
23 ProtectControlGroups=yes
27 ProtectKernelModules=yes
28 ProtectKernelTunables=yes
29 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
30 RestrictNamespaces=yes
32 SupplementaryGroups=systemd-journal
33 SystemCallArchitectures=native
34 User=systemd-journal-gateway
36 # If there are many split up journal files we need a lot of fds to access them
38 LimitNOFILE={{HIGH_RLIMIT_NOFILE}}
41 Also=systemd-journal-gatewayd.socket