From 2f6eaab9054531c3a57839e660519519ae0dd3d3 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Mon, 26 Feb 2024 23:08:58 -0700 Subject: [PATCH] fix services --- services/smartctl-test-disks-long.service | 4 ++-- services/smartctl-test-disks-short.service | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/smartctl-test-disks-long.service b/services/smartctl-test-disks-long.service index f94fb5a..efb3055 100644 --- a/services/smartctl-test-disks-long.service +++ b/services/smartctl-test-disks-long.service @@ -5,7 +5,7 @@ Description=Smartctl Run Short Test User=nagios ExecStart=/opt/icinga2-checks/Other/smartctl-test-disks.sh long SyslogIdentifier=smartctl-test-disks -Restart=always +Restart=on-failure [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target diff --git a/services/smartctl-test-disks-short.service b/services/smartctl-test-disks-short.service index fb21ec8..3d98157 100644 --- a/services/smartctl-test-disks-short.service +++ b/services/smartctl-test-disks-short.service @@ -5,7 +5,7 @@ Description=Smartctl Run Short Test User=nagios ExecStart=/opt/icinga2-checks/Other/smartctl-test-disks.sh short SyslogIdentifier=smartctl-test-disks -Restart=always +Restart=on-failure [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target