]>
Commit | Line | Data |
---|---|---|
a7df2d1e ZJS |
1 | # SPDX-License-Identifier: LGPL-2.1+ |
2 | # | |
ad95fd1d ZJS |
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 Remote Sink Service | |
c9d49328 | 12 | Documentation=man:systemd-journal-remote(8) man:journal-remote.conf(5) |
ad95fd1d ZJS |
13 | Requires=systemd-journal-remote.socket |
14 | ||
15 | [Service] | |
0c28d51a | 16 | ExecStart=@rootlibexecdir@/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/ |
ad95fd1d | 17 | User=systemd-journal-remote |
0c28d51a | 18 | WatchdogSec=3min |
ad95fd1d ZJS |
19 | PrivateTmp=yes |
20 | PrivateDevices=yes | |
21 | PrivateNetwork=yes | |
c7fb922d | 22 | ProtectSystem=strict |
0c28d51a LP |
23 | ProtectHome=yes |
24 | ProtectControlGroups=yes | |
25 | ProtectKernelTunables=yes | |
b6c7278c | 26 | ProtectKernelModules=yes |
0c28d51a LP |
27 | MemoryDenyWriteExecute=yes |
28 | RestrictRealtime=yes | |
3c19d0b4 | 29 | RestrictNamespaces=yes |
0c28d51a | 30 | RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 |
7f396e5f | 31 | SystemCallArchitectures=native |
bff8f254 | 32 | LockPersonality=yes |
d0e62ae0 | 33 | LogsDirectory=journal/remote |
ad95fd1d ZJS |
34 | |
35 | [Install] | |
36 | Also=systemd-journal-remote.socket |