From e11ad1264e005df80e2edff088f4824d82059283 Mon Sep 17 00:00:00 2001 From: phone Date: Sat, 4 Nov 2023 05:59:17 +0300 Subject: [PATCH] systemd : remove old hdd services. --- .linux/systemd/hdd/hdd_no_sleep.service | 12 ------------ .linux/systemd/hdd/hdd_sleep.service | 10 ---------- .linux/systemd/hdd/hdd_sleep.timer | 9 --------- 3 files changed, 31 deletions(-) delete mode 100644 .linux/systemd/hdd/hdd_no_sleep.service delete mode 100644 .linux/systemd/hdd/hdd_sleep.service delete mode 100644 .linux/systemd/hdd/hdd_sleep.timer diff --git a/.linux/systemd/hdd/hdd_no_sleep.service b/.linux/systemd/hdd/hdd_no_sleep.service deleted file mode 100644 index 62767e1..0000000 --- a/.linux/systemd/hdd/hdd_no_sleep.service +++ /dev/null @@ -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 diff --git a/.linux/systemd/hdd/hdd_sleep.service b/.linux/systemd/hdd/hdd_sleep.service deleted file mode 100644 index 62a52e5..0000000 --- a/.linux/systemd/hdd/hdd_sleep.service +++ /dev/null @@ -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 diff --git a/.linux/systemd/hdd/hdd_sleep.timer b/.linux/systemd/hdd/hdd_sleep.timer deleted file mode 100644 index 032cd6e..0000000 --- a/.linux/systemd/hdd/hdd_sleep.timer +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=spin drives down at night - -[Timer] -OnCalendar=*-*-* 07:00:00 -Persistent=false - -[Install] -WantedBy=timers.target