]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-journal-upload.service.in
Merge pull request #4061 from dm0-/coreos-1545
[thirdparty/systemd.git] / units / systemd-journal-upload.service.in
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
10 Documentation=man:systemd-journal-upload(8)
11 After=network.target
12
13 [Service]
14 ExecStart=@rootlibexecdir@/systemd-journal-upload --save-state
15 User=systemd-journal-upload
16 SupplementaryGroups=systemd-journal
17 WatchdogSec=3min
18 PrivateTmp=yes
19 PrivateDevices=yes
20 ProtectSystem=full
21 ProtectHome=yes
22 ProtectControlGroups=yes
23 ProtectKernelTunables=yes
24 MemoryDenyWriteExecute=yes
25 RestrictRealtime=yes
26 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
27
28 # If there are many split up journal files we need a lot of fds to
29 # access them all and combine
30 LimitNOFILE=16384
31
32 [Install]
33 WantedBy=multi-user.target