Add /proc to BindReadOnlyPaths for LXC

This commit is contained in:
Benoit S 2021-11-15 22:31:54 +09:00
parent 88bdb77e83
commit 331eeab3a1

View file

@ -32,6 +32,6 @@ systemd = {
'RootDirectory': f"{undocker['app_dst']}", 'RootDirectory': f"{undocker['app_dst']}",
'ReadWritePaths': '+/etc/linkding', 'ReadWritePaths': '+/etc/linkding',
'BindPaths': f"{data_directories[0]}:/etc/linkding/data", 'BindPaths': f"{data_directories[0]}:/etc/linkding/data",
'BindReadOnlyPaths': '/etc/resolv.conf /etc/hosts', 'BindReadOnlyPaths': '/etc/resolv.conf /etc/hosts /proc',
'ExecStart': '/etc/linkding/bootstrap.sh', 'ExecStart': '/etc/linkding/bootstrap.sh',
} }