]>
Commit | Line | Data |
---|---|---|
a7df2d1e ZJS |
1 | # SPDX-License-Identifier: LGPL-2.1+ |
2 | # | |
7b17a7d7 LP |
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] | |
11 | Description=Journal Gateway Service | |
c9d49328 | 12 | Documentation=man:systemd-journal-gatewayd(8) |
7b17a7d7 LP |
13 | Requires=systemd-journal-gatewayd.socket |
14 | ||
15 | [Service] | |
16 | ExecStart=@rootlibexecdir@/systemd-journal-gatewayd | |
c74cdb5c | 17 | User=systemd-journal-gateway |
37495eed | 18 | SupplementaryGroups=systemd-journal |
b7f2d0ba | 19 | DynamicUser=yes |
f21a71a9 LP |
20 | PrivateDevices=yes |
21 | PrivateNetwork=yes | |
1b8689f9 | 22 | ProtectHome=yes |
0c28d51a LP |
23 | ProtectControlGroups=yes |
24 | ProtectKernelTunables=yes | |
b6c7278c | 25 | ProtectKernelModules=yes |
0c28d51a LP |
26 | MemoryDenyWriteExecute=yes |
27 | RestrictRealtime=yes | |
3c19d0b4 | 28 | RestrictNamespaces=yes |
0c28d51a | 29 | RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 |
7f396e5f | 30 | SystemCallArchitectures=native |
bff8f254 | 31 | LockPersonality=yes |
7b17a7d7 | 32 | |
de45d726 LP |
33 | # If there are many split upjournal files we need a lot of fds to |
34 | # access them all and combine | |
35 | LimitNOFILE=16384 | |
36 | ||
7b17a7d7 LP |
37 | [Install] |
38 | Also=systemd-journal-gatewayd.socket |