diff options
Diffstat (limited to 'smartd.service.in')
-rw-r--r-- | smartd.service.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/smartd.service.in b/smartd.service.in new file mode 100644 index 0000000..cf66054 --- /dev/null +++ b/smartd.service.in @@ -0,0 +1,16 @@ +[Unit] +Description=Self Monitoring and Reporting Technology (SMART) Daemon +Documentation=man:smartd(8) man:smartd.conf(5) + +# Typically physical storage devices are managed by the host physical machine +# Override it if you are using PCI/USB passthrough +ConditionVirtualization=no + +[Service] +Type=notify +EnvironmentFile=-/usr/local/etc/sysconfig/smartmontools +ExecStart=/usr/local/sbin/smartd -n $smartd_opts +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target |