diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-09 10:58:28 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-09 16:12:03 +0100 |
commit | c7fb922d6250543ba5462fa7a6ff03cc8f628e94 (patch) | |
tree | d7f792739c369510c6a41e61414c85eb8773497e /units/systemd-journal-remote.service.in | |
parent | units: restrict namespace for a good number of our own services (diff) | |
download | systemd-c7fb922d6250543ba5462fa7a6ff03cc8f628e94.tar.xz systemd-c7fb922d6250543ba5462fa7a6ff03cc8f628e94.zip |
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.in | 3 |
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 |