Disable fsync in containers and kill it with sigkill as steam doesn't trap sigterm

This commit is contained in:
Alex D. 2024-11-08 09:59:30 +00:00
parent f26643ef94
commit a05a30854a
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 3 additions and 1 deletions

View File

@ -2,12 +2,14 @@
podman create \
--replace \
--name steam \
--stop-signal=SIGKILL \
--read-only \
--network=host \
--userns=keep-id:uid=10000 \
--shm-size=8g \
--userns=keep-id:uid=10000 \
--restart=on-failure:5 \
-e DISPLAY="$DISPLAY" \
-e PROTON_NO_FSYNC=1 \
-v '/sys:/sys' \
-v '/dev:/dev' \
-v '/run/pulse:/run/pulse' \