]> git.ipfire.org Git - thirdparty/systemd.git/blame_incremental - units/systemd-journal-gatewayd.service.in
udevadm: do not ignroe error caused by unpriviledged user invoking the command
[thirdparty/systemd.git] / units / systemd-journal-gatewayd.service.in
... / ...
CommitLineData
1# SPDX-License-Identifier: LGPL-2.1+
2#
3# This file is part of systemd.
4#
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.
9
10[Unit]
11Description=Journal Gateway Service
12Documentation=man:systemd-journal-gatewayd(8)
13Requires=systemd-journal-gatewayd.socket
14
15[Service]
16DynamicUser=yes
17ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
18LockPersonality=yes
19MemoryDenyWriteExecute=yes
20PrivateDevices=yes
21PrivateNetwork=yes
22ProtectProc=invisible
23ProtectControlGroups=yes
24ProtectHome=yes
25ProtectHostname=yes
26ProtectKernelLogs=yes
27ProtectKernelModules=yes
28ProtectKernelTunables=yes
29RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
30RestrictNamespaces=yes
31RestrictRealtime=yes
32SupplementaryGroups=systemd-journal
33SystemCallArchitectures=native
34User=systemd-journal-gateway
35
36# If there are many split up journal files we need a lot of fds to access them
37# all in parallel.
38LimitNOFILE=@HIGH_RLIMIT_NOFILE@
39
40[Install]
41Also=systemd-journal-gatewayd.socket