]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-journal-upload.service.in
shell-completion: replace "gdb" verb with "debug" for coredumpctl
[thirdparty/systemd.git] / units / systemd-journal-upload.service.in
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
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 Upload Service
12 Documentation=man:systemd-journal-upload(8)
13 Wants=network-online.target
14 After=network-online.target
15
16 [Service]
17 ExecStart=@rootlibexecdir@/systemd-journal-upload --save-state
18 User=systemd-journal-upload
19 DynamicUser=yes
20 SupplementaryGroups=systemd-journal
21 WatchdogSec=3min
22 PrivateDevices=yes
23 ProtectHome=yes
24 ProtectControlGroups=yes
25 ProtectKernelTunables=yes
26 ProtectKernelModules=yes
27 MemoryDenyWriteExecute=yes
28 RestrictRealtime=yes
29 RestrictNamespaces=yes
30 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
31 SystemCallArchitectures=native
32 LockPersonality=yes
33 StateDirectory=systemd/journal-upload
34
35 # If there are many split up journal files we need a lot of fds to
36 # access them all and combine
37 LimitNOFILE=16384
38
39 [Install]
40 WantedBy=multi-user.target