11 lines
560 B
Text
11 lines
560 B
Text
# infra/config/dev-shm-override.conf — pushed to
|
|
# /etc/systemd/system/dev-shm.mount.d/override.conf.
|
|
#
|
|
# docs/design/infra.md section 1: "/dev/shm in an LXC defaults to a small
|
|
# tmpfs and Chromium's renderer will fall over on it. Fix it properly with
|
|
# a tmpfs mount unit sizing /dev/shm at 1 GB rather than using
|
|
# --disable-dev-shm-usage, which just moves the same traffic onto the
|
|
# rootfs." dev-shm.mount is systemd-generated; a drop-in override is the
|
|
# standard way to resize it without hand-writing the whole unit.
|
|
[Mount]
|
|
Options=mode=1777,size=1G
|