From: Yu Watanabe Date: Fri, 6 Oct 2017 07:06:21 +0000 (+0900) Subject: unit: enable DynamicUser= for journal-upload X-Git-Tag: v236~340^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=941afc4b902af21b0675e9e5d417c2ee6b202f30;p=thirdparty%2Fsystemd.git unit: enable DynamicUser= for journal-upload --- diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in index 98a4b2bb7af..b666ef35682 100644 --- a/units/systemd-journal-upload.service.in +++ b/units/systemd-journal-upload.service.in @@ -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