1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

portable/profile: use BindJournalSockets=

This commit is contained in:
Mike Yuan 2024-04-26 16:53:41 +08:00
parent 119820f8ab
commit 263fa92bab
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
[Service]
MountAPIVFS=yes
BindReadOnlyPaths=/dev/log /run/systemd/journal/socket /run/systemd/journal/stdout
BindJournalSockets=yes
BindReadOnlyPaths=/etc/machine-id
BindReadOnlyPaths=-/etc/resolv.conf
BindReadOnlyPaths=/run/dbus/system_bus_socket

View File

@ -2,7 +2,7 @@
[Service]
MountAPIVFS=yes
BindReadOnlyPaths=/dev/log /run/systemd/journal/socket /run/systemd/journal/stdout
BindJournalSockets=yes
BindReadOnlyPaths=/etc/machine-id
BindReadOnlyPaths=/run/dbus/system_bus_socket
DynamicUser=yes

View File

@ -2,7 +2,7 @@
[Service]
MountAPIVFS=yes
BindReadOnlyPaths=/dev/log /run/systemd/journal/socket /run/systemd/journal/stdout
BindJournalSockets=yes
BindReadOnlyPaths=/etc/machine-id
DynamicUser=yes
RemoveIPC=yes