This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.linux/systemd/hdd/hdd_no_sleep.service

13 lines
378 B
Desktop File

[Unit]
Description=dont spin HDD drives down
[Service]
Type=oneshot
ExecStart=/usr/sbin/hdparm -S 0 /dev/disk/by-id/ata-ST20000NM007D-3DJ103_ZVT8BJJF
ExecStart=/usr/sbin/hdparm -S 0 /dev/disk/by-id/ata-ST20000NM007D-3DJ103_ZVT8MLLQ
ExecStart=/usr/sbin/hdparm -S 0 /dev/disk/by-id/usb-WDC_WD20_SPZX-22UA7T0_20170930-0:0
#Restart=on-failure
[Install]
WantedBy=multi-user.target