Skip to content

Instantly share code, notes, and snippets.

@ElXreno
Created February 14, 2020 20:51
Show Gist options
  • Save ElXreno/f29b0786ba7832ea453a87737d5de9fa to your computer and use it in GitHub Desktop.
Save ElXreno/f29b0786ba7832ea453a87737d5de9fa to your computer and use it in GitHub Desktop.
hdparm config service
[Unit]
Description=hdparm config service
After=suspend.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/hdparm -B 254 -S 96 /dev/disk/by-id/ata-...
[Install]
WantedBy=suspend.target basic.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment