[Unit] Description=Disable power management on all HDDs [Service] Type=oneshot ExecStart=/sbin/hdparm -B 255 /dev/disk/by-id/%i [Install] WantedBy=multi-user.target