1
0
Fork 0
cryptsetup/debian/scripts/suspend/systemd/cryptsetup-suspend.conf
Daniel Baumann 74b680e410
Adding debian version 2:2.7.5-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 10:45:48 +02:00

12 lines
482 B
Text

[Service]
# Protect against OOM killer. luksResume with Argon2 needs a lot of memory
OOMScoreAdjust=-1000
# Give us higher priority
Nice=-10
# override ExecStart of systemd-suspend.service
ExecStart=
# use VT 8 as workaround for https://gitlab.gnome.org/GNOME/gdm/issues/527
# XXX on systems specifying the console= kernel parameter (such as a serial
# port) we should probably honor it
ExecStart=/bin/openvt -ws -c8 \
/lib/cryptsetup/scripts/suspend/cryptsetup-suspend-wrapper