]>
Commit | Line | Data |
---|---|---|
ad95fd1d ZJS |
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 Remote Upload Service | |
c9d49328 | 10 | Documentation=man:systemd-journal-upload(8) |
3f2a3726 YW |
11 | Wants=network-online.target |
12 | After=network-online.target | |
ad95fd1d ZJS |
13 | |
14 | [Service] | |
0c28d51a | 15 | ExecStart=@rootlibexecdir@/systemd-journal-upload --save-state |
ad95fd1d | 16 | User=systemd-journal-upload |
941afc4b | 17 | DynamicUser=yes |
d70698b7 | 18 | SupplementaryGroups=systemd-journal |
0c28d51a | 19 | WatchdogSec=3min |
ad95fd1d | 20 | PrivateDevices=yes |
0c28d51a LP |
21 | ProtectHome=yes |
22 | ProtectControlGroups=yes | |
23 | ProtectKernelTunables=yes | |
b6c7278c | 24 | ProtectKernelModules=yes |
0c28d51a LP |
25 | MemoryDenyWriteExecute=yes |
26 | RestrictRealtime=yes | |
3c19d0b4 | 27 | RestrictNamespaces=yes |
0c28d51a | 28 | RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 |
7f396e5f | 29 | SystemCallArchitectures=native |
bff8f254 | 30 | LockPersonality=yes |
d0e62ae0 | 31 | StateDirectory=systemd/journal-upload |
ad95fd1d | 32 | |
de45d726 LP |
33 | # If there are many split up journal files we need a lot of fds to |
34 | # access them all and combine | |
35 | LimitNOFILE=16384 | |
36 | ||
ad95fd1d ZJS |
37 | [Install] |
38 | WantedBy=multi-user.target |