mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
units: use {State,Logs}Directory= if they are applicable
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user