]>
Commit | Line | Data |
---|---|---|
7b17a7d7 LP |
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 | |
c9d49328 | 10 | Documentation=man:systemd-journal-gatewayd(8) |
7b17a7d7 LP |
11 | Requires=systemd-journal-gatewayd.socket |
12 | ||
13 | [Service] | |
14 | ExecStart=@rootlibexecdir@/systemd-journal-gatewayd | |
37495eed LP |
15 | User=systemd-journal-gateway |
16 | Group=systemd-journal-gateway | |
17 | SupplementaryGroups=systemd-journal | |
f21a71a9 LP |
18 | PrivateTmp=yes |
19 | PrivateDevices=yes | |
20 | PrivateNetwork=yes | |
c7fb922d | 21 | ProtectSystem=strict |
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 |
7b17a7d7 | 31 | |
de45d726 LP |
32 | # If there are many split upjournal files we need a lot of fds to |
33 | # access them all and combine | |
34 | LimitNOFILE=16384 | |
35 | ||
7b17a7d7 LP |
36 | [Install] |
37 | Also=systemd-journal-gatewayd.socket |