journal-upload: add state file directory to ReadWritePaths (#5578)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 30 Mar 2017 16:01:03 +0000 (01:01 +0900)
committerLennart Poettering <lennart@poettering.net>
Thu, 30 Mar 2017 16:01:03 +0000 (18:01 +0200)
commitb0b46a2c12c4ba04ea2425d7930b14ca48bc6545
tree9c85ef406b788667357788b3bcdd373b204b8204
parent969faed189fb5fb83dc7879139aee1ac3bcedccf
journal-upload: add state file directory to ReadWritePaths (#5578)

The commit c7fb922d6250543ba5462fa7a6ff03cc8f628e94 prohibits
journal-upload to save its state in /var/lib/systemd/journal-upload/state,
thus the daemon fails and outputs the following error message even if
the directory is not read-only file system
```Cannot save state to /var/lib/systemd/journal-upload/state: Read-only file system```
This commit adds the permission the daemon to write the state file.
units/systemd-journal-upload.service.in