systemd : remove old hdd services.

This commit is contained in:
Dmitry Voronin 2023-11-04 05:59:17 +03:00
parent dfd4df033d
commit e11ad1264e
3 changed files with 0 additions and 31 deletions

View file

@ -1,12 +0,0 @@
[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

View file

@ -1,10 +0,0 @@
[Unit]
Description=spin HDD drives down
[Service]
Type=oneshot
ExecStart=/var/roothome/app/bin/hdd_sleep
#Restart=on-failure
[Install]
WantedBy=multi-user.target

View file

@ -1,9 +0,0 @@
[Unit]
Description=spin drives down at night
[Timer]
OnCalendar=*-*-* 07:00:00
Persistent=false
[Install]
WantedBy=timers.target