]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-journal-remote.service.in
Merge pull request #6830 from keszybz/generator-dirs
[thirdparty/systemd.git] / units / systemd-journal-remote.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 Sink Service
10 Documentation=man:systemd-journal-remote(8) man:journal-remote.conf(5)
11 Requires=systemd-journal-remote.socket
12
13 [Service]
14 ExecStart=@rootlibexecdir@/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/
15 User=systemd-journal-remote
16 WatchdogSec=3min
17 PrivateTmp=yes
18 PrivateDevices=yes
19 PrivateNetwork=yes
20 ProtectSystem=strict
21 ProtectHome=yes
22 ProtectControlGroups=yes
23 ProtectKernelTunables=yes
24 ProtectKernelModules=yes
25 MemoryDenyWriteExecute=yes
26 RestrictRealtime=yes
27 RestrictNamespaces=yes
28 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
29 SystemCallArchitectures=native
30 LockPersonality=yes
31 LogsDirectory=journal/remote
32
33 [Install]
34 Also=systemd-journal-remote.socket