]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-journal-remote.service.in
networkd: Ignore DNS information when uplink is not managed (#7571)
[thirdparty/systemd.git] / units / systemd-journal-remote.service.in
index cab7778ddc7a5319c8d2eef0bae558fa968be5ce..a94265f215b1ec34d72e9ec984edcf6a3b367e0a 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -13,20 +15,22 @@ Requires=systemd-journal-remote.socket
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/
 User=systemd-journal-remote
-Group=systemd-journal-remote
 WatchdogSec=3min
 PrivateTmp=yes
 PrivateDevices=yes
 PrivateNetwork=yes
-ProtectSystem=full
+ProtectSystem=strict
 ProtectHome=yes
 ProtectControlGroups=yes
 ProtectKernelTunables=yes
+ProtectKernelModules=yes
 MemoryDenyWriteExecute=yes
 RestrictRealtime=yes
 RestrictNamespaces=yes
 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
 SystemCallArchitectures=native
+LockPersonality=yes
+LogsDirectory=journal/remote
 
 [Install]
 Also=systemd-journal-remote.socket