Any suggestion on APM with rotational drives

Any advice to spin down HDDs the debian/Parrot way?

Here’s what I have from archwiki: https://wiki.archlinux.org/index.php/hdparm#Power_management_configuration

/etc/udev/rules.d/69-hdparm.rules

ACTION==“add|change”, KERNEL==“sd[a-z]”, ATTRS{queue/rotational}==“1”, RUN+="/usr/bin/hdparm -B 127 -S 60 /dev/%k"

and (/usr/lib/systemd/system-sleep/hdparm)
#!/bin/sh

case $1 in post)
/usr/bin/hdparm -B 254 -S 0 /dev/sda
;;
esac