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