]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-journal-gatewayd.service.in
Merge pull request #8626 from floppym/initctl
[thirdparty/systemd.git] / units / systemd-journal-gatewayd.service.in
index 677cb2a04b37a6e77ca4b48b61d9030a56301f8f..9768928c579ad55d663013e622aa57e355504521 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,20 @@ Requires=systemd-journal-gatewayd.socket
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
 User=systemd-journal-gateway
-Group=systemd-journal-gateway
 SupplementaryGroups=systemd-journal
-PrivateTmp=yes
+DynamicUser=yes
 PrivateDevices=yes
 PrivateNetwork=yes
-ProtectSystem=full
 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
 
 # If there are many split upjournal files we need a lot of fds to
 # access them all and combine