From e4f67a9de052536683fa454691a32e51292ad1fe Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 31 Oct 2019 17:39:54 +0100 Subject: [smartctl] only keep cron job the service is just triggering the script which does the same thing than hardware-stats -> we need to merge both ways to check for SMART values. --- .../data/etc/systemd/system/basic.target.wants/smartctl.service | 1 - core/modules/smartctl/data/etc/systemd/system/smartctl.service | 8 -------- 2 files changed, 9 deletions(-) delete mode 120000 core/modules/smartctl/data/etc/systemd/system/basic.target.wants/smartctl.service delete mode 100644 core/modules/smartctl/data/etc/systemd/system/smartctl.service (limited to 'core') diff --git a/core/modules/smartctl/data/etc/systemd/system/basic.target.wants/smartctl.service b/core/modules/smartctl/data/etc/systemd/system/basic.target.wants/smartctl.service deleted file mode 120000 index b0849c0c..00000000 --- a/core/modules/smartctl/data/etc/systemd/system/basic.target.wants/smartctl.service +++ /dev/null @@ -1 +0,0 @@ -../smartctl.service \ No newline at end of file diff --git a/core/modules/smartctl/data/etc/systemd/system/smartctl.service b/core/modules/smartctl/data/etc/systemd/system/smartctl.service deleted file mode 100644 index ab268cbc..00000000 --- a/core/modules/smartctl/data/etc/systemd/system/smartctl.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Check HDD health status - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/opt/openslx/scripts/systemd-smartctl - -- cgit v1.2.3-55-g7522