1 # SPDX-License-Identifier: LGPL-2.1+
3 # This file is part of systemd.
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.
11 Description=Journal Remote Upload Service
12 Documentation=man:systemd-journal-upload(8)
13 Wants=network-online.target
14 After=network-online.target
17 ExecStart=@rootlibexecdir@/systemd-journal-upload --save-state
18 User=systemd-journal-upload
20 SupplementaryGroups=systemd-journal
24 ProtectControlGroups=yes
25 ProtectKernelTunables=yes
26 ProtectKernelModules=yes
27 MemoryDenyWriteExecute=yes
29 RestrictNamespaces=yes
30 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
31 SystemCallArchitectures=native
33 StateDirectory=systemd/journal-upload
35 # If there are many split up journal files we need a lot of fds to
36 # access them all and combine
40 WantedBy=multi-user.target