1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-22 22:03:43 +03:00

units: use {State,Logs}Directory= if they are applicable

This commit is contained in:
Yu Watanabe 2017-08-02 17:35:11 +09:00
parent c23c34bcba
commit d0e62ae0f6
3 changed files with 3 additions and 3 deletions

View File

@ -34,4 +34,4 @@ RestrictNamespaces=yes
RestrictAddressFamilies=AF_UNIX
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap
SystemCallArchitectures=native
ReadWritePaths=/var/lib/systemd/coredump
StateDirectory=systemd/coredump

View File

@ -28,7 +28,7 @@ RestrictRealtime=yes
RestrictNamespaces=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
SystemCallArchitectures=native
ReadWritePaths=/var/log/journal/remote
LogsDirectory=journal/remote
[Install]
Also=systemd-journal-remote.socket

View File

@ -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