]>
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 |
d70698b7 | 17 | SupplementaryGroups=systemd-journal |
0c28d51a | 18 | WatchdogSec=3min |
ad95fd1d ZJS |
19 | PrivateTmp=yes |
20 | PrivateDevices=yes | |
c7fb922d | 21 | ProtectSystem=strict |
0c28d51a LP |
22 | ProtectHome=yes |
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 |
d0e62ae0 | 32 | StateDirectory=systemd/journal-upload |
ad95fd1d | 33 | |
de45d726 LP |
34 | # If there are many split up journal files we need a lot of fds to |
35 | # access them all and combine | |
36 | LimitNOFILE=16384 | |
37 | ||
ad95fd1d ZJS |
38 | [Install] |
39 | WantedBy=multi-user.target |