summaryrefslogtreecommitdiff
path: root/units/systemd-journal-upload.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-08-02 17:35:11 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-08-08 12:17:01 +0900
commitd0e62ae0f6d05657a9bec134cefb0994d9734e67 (patch)
treec44f7854613d90f8cc7380ff3c538989ab395dfb /units/systemd-journal-upload.service.in
parentc23c34bcba944d597bdc8e210fb9f0e00d662629 (diff)
downloadsystemd-d0e62ae0f6d05657a9bec134cefb0994d9734e67.tar.gz
units: use {State,Logs}Directory= if they are applicable
Diffstat (limited to 'units/systemd-journal-upload.service.in')
-rw-r--r--units/systemd-journal-upload.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in
index d00b929211..b0bee3925e 100644
--- a/units/systemd-journal-upload.service.in
+++ b/units/systemd-journal-upload.service.in
@@ -28,7 +28,7 @@ RestrictRealtime=yes
RestrictNamespaces=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
SystemCallArchitectures=native
-ReadWritePaths=/var/lib/systemd/journal-upload
+StateDirectory=systemd/journal-upload
# If there are many split up journal files we need a lot of fds to
# access them all and combine