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