From 9b7c4c6499359accd7d13fe68f060ee00b1665b9 Mon Sep 17 00:00:00 2001 From: blue Date: Wed, 13 Dec 2023 19:29:24 +0000 Subject: [PATCH] Add smartmonitor.service --- smartmonitor.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 smartmonitor.service diff --git a/smartmonitor.service b/smartmonitor.service new file mode 100644 index 0000000..1006b16 --- /dev/null +++ b/smartmonitor.service @@ -0,0 +1,10 @@ +[Unit] +Description=S.M.A.R.T Monitor script +Wants=smartmonitor.timer + +[Service] +Type=oneshot +ExecStart=/bin/bash /root/smart-check.sh + +[Install] +WantedBy=multi-user.target \ No newline at end of file