summaryrefslogtreecommitdiffstats
path: root/units/systemd-journal-remote.service.in
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2020-04-02 20:18:11 +0200
committerLennart Poettering <lennart@poettering.net>2020-04-07 15:37:14 +0200
commitcabc1c6d7adae658a2966a4b02a6faabb803e92b (patch)
tree97d713454ae4cffbf17b841480df3008bf3f2752 /units/systemd-journal-remote.service.in
parentRemove message->priority field (diff)
downloadsystemd-cabc1c6d7adae658a2966a4b02a6faabb803e92b.tar.xz
systemd-cabc1c6d7adae658a2966a4b02a6faabb803e92b.zip
units: add ProtectClock=yes
Add `ProtectClock=yes` to systemd units. Since it implies certain `DeviceAllow=` rules, make sure that the units have `DeviceAllow=` rules so they are still able to access other devices. Exclude timesyncd and timedated.
Diffstat (limited to 'units/systemd-journal-remote.service.in')
-rw-r--r--units/systemd-journal-remote.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-journal-remote.service.in b/units/systemd-journal-remote.service.in
index 6181d15d77..334f030caa 100644
--- a/units/systemd-journal-remote.service.in
+++ b/units/systemd-journal-remote.service.in
@@ -21,6 +21,7 @@ NoNewPrivileges=yes
PrivateDevices=yes
PrivateNetwork=yes
PrivateTmp=yes
+ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes