]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
unit: enable DynamicUser= for journal-upload
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 6 Oct 2017 07:06:21 +0000 (16:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 6 Oct 2017 07:06:21 +0000 (16:06 +0900)
units/systemd-journal-upload.service.in

index 98a4b2bb7af15e62c860d6dcad46366a66a59187..b666ef3568223bcbdc9ec3158b3eb44713c3f73f 100644 (file)
@@ -14,11 +14,10 @@ After=network-online.target
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journal-upload --save-state
 User=systemd-journal-upload
+DynamicUser=yes
 SupplementaryGroups=systemd-journal
 WatchdogSec=3min
-PrivateTmp=yes
 PrivateDevices=yes
-ProtectSystem=strict
 ProtectHome=yes
 ProtectControlGroups=yes
 ProtectKernelTunables=yes