summaryrefslogtreecommitdiff
path: root/units/stress
diff options
Diffstat (limited to 'units/stress')
-rw-r--r--units/stress/s3s4.pxu3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/stress/s3s4.pxu b/units/stress/s3s4.pxu
index 77b9af6..9bf6ea7 100644
--- a/units/stress/s3s4.pxu
+++ b/units/stress/s3s4.pxu
@@ -63,7 +63,8 @@ command:
for i in {1..{{ s3_iterations }}};
do
echo "Iteration $i"
- rtcwake -v -m mem -s "${STRESS_S3_SLEEP_DELAY:-30}"
+ rtcwake -v -m on -s "${STRESS_S3_SLEEP_DELAY:-30}" &
+ systemctl suspend
done
{% endif -%}
_description: