]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journal-upload.service.in
timesyncd: enable DynamicUser=
[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)
3f2a3726
YW
11Wants=network-online.target
12After=network-online.target
ad95fd1d
ZJS
13
14[Service]
0c28d51a 15ExecStart=@rootlibexecdir@/systemd-journal-upload --save-state
ad95fd1d 16User=systemd-journal-upload
d70698b7 17SupplementaryGroups=systemd-journal
0c28d51a 18WatchdogSec=3min
ad95fd1d
ZJS
19PrivateTmp=yes
20PrivateDevices=yes
c7fb922d 21ProtectSystem=strict
0c28d51a
LP
22ProtectHome=yes
23ProtectControlGroups=yes
24ProtectKernelTunables=yes
b6c7278c 25ProtectKernelModules=yes
0c28d51a
LP
26MemoryDenyWriteExecute=yes
27RestrictRealtime=yes
3c19d0b4 28RestrictNamespaces=yes
0c28d51a 29RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
7f396e5f 30SystemCallArchitectures=native
bff8f254 31LockPersonality=yes
d0e62ae0 32StateDirectory=systemd/journal-upload
ad95fd1d 33
de45d726
LP
34# If there are many split up journal files we need a lot of fds to
35# access them all and combine
36LimitNOFILE=16384
37
ad95fd1d
ZJS
38[Install]
39WantedBy=multi-user.target