]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journal-upload.service.in
Allow block and char classes in DeviceAllow bus properties (#4353)
[thirdparty/systemd.git] / units / systemd-journal-upload.service.in
CommitLineData
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]
9Description=Journal Remote Upload Service
c9d49328 10Documentation=man:systemd-journal-upload(8)
fd5ab841 11After=network.target
ad95fd1d
ZJS
12
13[Service]
0c28d51a 14ExecStart=@rootlibexecdir@/systemd-journal-upload --save-state
ad95fd1d 15User=systemd-journal-upload
d70698b7 16SupplementaryGroups=systemd-journal
0c28d51a 17WatchdogSec=3min
ad95fd1d
ZJS
18PrivateTmp=yes
19PrivateDevices=yes
0c28d51a
LP
20ProtectSystem=full
21ProtectHome=yes
22ProtectControlGroups=yes
23ProtectKernelTunables=yes
24MemoryDenyWriteExecute=yes
25RestrictRealtime=yes
26RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
ad95fd1d 27
de45d726
LP
28# If there are many split up journal files we need a lot of fds to
29# access them all and combine
30LimitNOFILE=16384
31
ad95fd1d
ZJS
32[Install]
33WantedBy=multi-user.target