]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-journal-gatewayd.service.in
Merge pull request #6924 from andir/vrf-dhcpv4
[thirdparty/systemd.git] / units / systemd-journal-gatewayd.service.in
1 # This file is part of systemd.
2 #
3 # systemd is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2.1 of the License, or
6 # (at your option) any later version.
7
8 [Unit]
9 Description=Journal Gateway Service
10 Documentation=man:systemd-journal-gatewayd(8)
11 Requires=systemd-journal-gatewayd.socket
12
13 [Service]
14 ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
15 SupplementaryGroups=systemd-journal
16 DynamicUser=yes
17 PrivateDevices=yes
18 PrivateNetwork=yes
19 ProtectHome=yes
20 ProtectControlGroups=yes
21 ProtectKernelTunables=yes
22 ProtectKernelModules=yes
23 MemoryDenyWriteExecute=yes
24 RestrictRealtime=yes
25 RestrictNamespaces=yes
26 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
27 SystemCallArchitectures=native
28 LockPersonality=yes
29
30 # If there are many split upjournal files we need a lot of fds to
31 # access them all and combine
32 LimitNOFILE=16384
33
34 [Install]
35 Also=systemd-journal-gatewayd.socket