mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
unit: enable DynamicUser= for journal-upload
This commit is contained in:
parent
48d3e88c18
commit
941afc4b90
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue