summaryrefslogtreecommitdiff
path: root/units/systemd-journal-remote.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-09 10:58:28 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-09 16:12:03 +0100
commitc7fb922d6250543ba5462fa7a6ff03cc8f628e94 (patch)
treed7f792739c369510c6a41e61414c85eb8773497e /units/systemd-journal-remote.service.in
parent3c19d0b46bb05aef5dcaa2ce83c31b15ee8ae11b (diff)
downloadsystemd-c7fb922d6250543ba5462fa7a6ff03cc8f628e94.tar.gz
units: switch on ProtectSystem=strict for our long running services
Let's step up the protection a notch
Diffstat (limited to 'units/systemd-journal-remote.service.in')
-rw-r--r--units/systemd-journal-remote.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/systemd-journal-remote.service.in b/units/systemd-journal-remote.service.in
index cab7778ddc..323e308871 100644
--- a/units/systemd-journal-remote.service.in
+++ b/units/systemd-journal-remote.service.in
@@ -18,7 +18,7 @@ WatchdogSec=3min
PrivateTmp=yes
PrivateDevices=yes
PrivateNetwork=yes
-ProtectSystem=full
+ProtectSystem=strict
ProtectHome=yes
ProtectControlGroups=yes
ProtectKernelTunables=yes
@@ -27,6 +27,7 @@ RestrictRealtime=yes
RestrictNamespaces=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
SystemCallArchitectures=native
+ReadWritePaths=/var/log/journal/remote
[Install]
Also=systemd-journal-remote.socket